Browse Source

Fix sample in EnableAsync Javadoc

Closes gh-2050
pull/23933/head
diguage 6 years ago committed by Stephane Nicoll
parent
commit
ee95a110bd
  1. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java

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

@ -99,7 +99,7 @@ import org.springframework.core.Ordered; @@ -99,7 +99,7 @@ import org.springframework.core.Ordered;
*
* @Override
* public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
* return MyAsyncUncaughtExceptionHandler();
* return new MyAsyncUncaughtExceptionHandler();
* }
* }</pre>
*

Loading…
Cancel
Save