No nullability declarations in AOP Alliance sources
Issue: SPR-15720
This commit is contained in:
parent
9d04c0424d
commit
57f961e36b
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue