No nullability declarations in AOP Alliance sources

Issue: SPR-15720
This commit is contained in:
Juergen Hoeller 2017-07-14 15:10:20 +02:00
parent 9d04c0424d
commit 57f961e36b
2 changed files with 1 additions and 6 deletions

View File

@ -16,8 +16,6 @@
package org.aopalliance.aop; package org.aopalliance.aop;
import org.springframework.lang.Nullable;
/** /**
* Superclass for all AOP infrastructure exceptions. * Superclass for all AOP infrastructure exceptions.
* Unchecked, as such exceptions are fatal and end user * Unchecked, as such exceptions are fatal and end user
@ -43,7 +41,7 @@ public class AspectException extends RuntimeException {
* @param message the exception message * @param message the exception message
* @param cause the root cause, if any * @param cause the root cause, if any
*/ */
public AspectException(String message, @Nullable Throwable cause) { public AspectException(String message, Throwable cause) {
super(message, cause); super(message, cause);
} }

View File

@ -16,8 +16,6 @@
package org.aopalliance.intercept; package org.aopalliance.intercept;
import org.springframework.lang.Nullable;
/** /**
* Intercepts calls on an interface on its way to the target. These * Intercepts calls on an interface on its way to the target. These
* are nested "on top" of the target. * are nested "on top" of the target.
@ -54,7 +52,6 @@ public interface MethodInterceptor extends Interceptor {
* @throws Throwable if the interceptors or the target object * @throws Throwable if the interceptors or the target object
* throws an exception * throws an exception
*/ */
@Nullable
Object invoke(MethodInvocation invocation) throws Throwable; Object invoke(MethodInvocation invocation) throws Throwable;
} }