Skip to content

Commit ee95a11

Browse files
diguagesnicoll
authored andcommitted
Fix sample in EnableAsync Javadoc
Closes gh-2050
1 parent c48672c commit ee95a11

File tree

1 file changed

+1
-1
lines changed
  • spring-context/src/main/java/org/springframework/scheduling/annotation

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
*
100100
* @Override
101101
* public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
102-
* return MyAsyncUncaughtExceptionHandler();
102+
* return new MyAsyncUncaughtExceptionHandler();
103103
* }
104104
* }</pre>
105105
*

0 commit comments

Comments
 (0)