Fix sample in EnableAsync Javadoc

Closes gh-2050
This commit is contained in:
diguage 2018-12-13 17:13:02 +08:00 committed by Stephane Nicoll
parent c48672c4c7
commit ee95a110bd
1 changed files with 1 additions and 1 deletions

View File

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