From f15a5fef8e424abaab41400cfadcc498f2363834 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 20 Jan 2014 16:19:09 +0100 Subject: [PATCH] Fixed assert in setAspectJAdvisorFactory() Issue: SPR-11330 --- .../annotation/AnnotationAwareAspectJAutoProxyCreator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator.java b/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator.java index 3abd9d860a2..dce613ef5df 100644 --- a/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator.java +++ b/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ public class AnnotationAwareAspectJAutoProxyCreator extends AspectJAwareAdvisorA } public void setAspectJAdvisorFactory(AspectJAdvisorFactory aspectJAdvisorFactory) { - Assert.notNull(this.aspectJAdvisorFactory, "AspectJAdvisorFactory must not be null"); + Assert.notNull(aspectJAdvisorFactory, "AspectJAdvisorFactory must not be null"); this.aspectJAdvisorFactory = aspectJAdvisorFactory; }