See gh-23142
This commit is contained in:
Issam El-atif 2019-06-17 11:26:49 +02:00 committed by Stephane Nicoll
parent 30af01fd4e
commit 57fa09b80d
1 changed files with 2 additions and 2 deletions

View File

@ -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;