Skip to content

Commit 81d77b9

Browse files
committed
Merge pull request #2050 from diguage
* pr/2050: Fix sample in EnableAsync Javadoc
2 parents c48672c + ee95a11 commit 81d77b9

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)