Browse Source

Merge pull request #2050 from diguage

* pr/2050:
  Fix sample in EnableAsync Javadoc
pull/23933/head
Stephane Nicoll 6 years ago
parent
commit
81d77b9872
  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