mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Parameterize AsyncTask type
This commit is contained in:
+2
-2
@@ -52,9 +52,9 @@ public class AsyncTaskMethodReturnValueHandler implements HandlerMethodReturnVal
|
||||
return;
|
||||
}
|
||||
|
||||
AsyncTask asyncTask = (AsyncTask) returnValue;
|
||||
AsyncTask<?> asyncTask = (AsyncTask<?>) returnValue;
|
||||
asyncTask.setBeanFactory(this.beanFactory);
|
||||
WebAsyncUtils.getAsyncManager(webRequest).startCallableProcessing(asyncTask.getCallable(), mavContainer);
|
||||
WebAsyncUtils.getAsyncManager(webRequest).startCallableProcessing(asyncTask, mavContainer);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user