Skip to content

Commit 442bd68

Browse files
committed
Polishing
Issue: SPR-11910
1 parent a9b650f commit 442bd68

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ public void handleUncaughtException(Throwable ex, Method method, Object... param
3838
"method '%s'.", method), ex);
3939
}
4040
}
41+
4142
}

spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncAnnotationAdvisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler e
105105
* Specify the default task executor to use for asynchronous methods.
106106
*/
107107
public void setTaskExecutor(Executor executor) {
108-
this.advice = buildAdvice(executor, exceptionHandler);
108+
this.advice = buildAdvice(executor, this.exceptionHandler);
109109
}
110110

111111
/**

spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -139,7 +139,7 @@ public Object invoke(MethodInvocation methodInvocation) throws Throwable {
139139
}
140140

141141
RemoteInvocation invocation = createRemoteInvocation(methodInvocation);
142-
RemoteInvocationResult result = null;
142+
RemoteInvocationResult result;
143143
try {
144144
result = executeRequest(invocation, methodInvocation);
145145
}

0 commit comments

Comments
 (0)