Skip to content

Commit e5a595e

Browse files
committed
Merge branch '5.1.x'
2 parents fb66619 + f19d7c0 commit e5a595e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractTraceInterceptor.java

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public void setLogExceptionStackTrace(boolean logExceptionStackTrace) {
124124
* @see #invokeUnderTrace(org.aopalliance.intercept.MethodInvocation, org.apache.commons.logging.Log)
125125
*/
126126
@Override
127+
@Nullable
127128
public Object invoke(MethodInvocation invocation) throws Throwable {
128129
Log logger = getLoggerForInvocation(invocation);
129130
if (isInterceptorEnabled(invocation, logger)) {
@@ -242,6 +243,7 @@ protected void writeToLog(Log logger, String message, @Nullable Throwable ex) {
242243
* @see #writeToLog(Log, String)
243244
* @see #writeToLog(Log, String, Throwable)
244245
*/
246+
@Nullable
245247
protected abstract Object invokeUnderTrace(MethodInvocation invocation, Log logger) throws Throwable;
246248

247249
}

0 commit comments

Comments
 (0)