See gh-23142
master
Issam El-atif 5 years ago committed by Stephane Nicoll
parent 30af01fd4e
commit 57fa09b80d
  1. 4
      spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectMetadata.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2016 the original author or authors. * Copyright 2002-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -95,7 +95,7 @@ public class AspectMetadata implements Serializable {
throw new IllegalArgumentException("Class '" + aspectClass.getName() + "' is not an @AspectJ aspect"); throw new IllegalArgumentException("Class '" + aspectClass.getName() + "' is not an @AspectJ aspect");
} }
if (ajType.getDeclarePrecedence().length > 0) { if (ajType.getDeclarePrecedence().length > 0) {
throw new IllegalArgumentException("DeclarePrecendence not presently supported in Spring AOP"); throw new IllegalArgumentException("DeclarePrecedence not presently supported in Spring AOP");
} }
this.aspectClass = ajType.getJavaClass(); this.aspectClass = ajType.getJavaClass();
this.ajType = ajType; this.ajType = ajType;

Loading…
Cancel
Save