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;
* *
* @Override * @Override
* public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() { * public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
* return MyAsyncUncaughtExceptionHandler(); * return new MyAsyncUncaughtExceptionHandler();
* } * }
* }</pre> * }</pre>
* *

Loading…
Cancel
Save