Moved AnnotationBeanNameGenerator's String value check right before cast

Issue: SPR-11221
This commit is contained in:
Juergen Hoeller
2013-12-17 12:39:24 +01:00
parent 078d2fe0e2
commit 23546b1234
3 changed files with 50 additions and 12 deletions
@@ -20,12 +20,10 @@ import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
/**
* @author Mark Fisher
*/
@Component
@CustomAspectStereotype({"myPointcutInfo", "otherPointcutInfo"})
@Aspect
public class ServiceInvocationCounter {