mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-03 21:49:03 +00:00
Remove unnecessary check in RequestMappingHandlerAdapter
This commit is contained in:
+1
-4
@@ -880,10 +880,7 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter
|
||||
asyncManager.registerCallableInterceptors(this.callableInterceptors);
|
||||
asyncManager.registerDeferredResultInterceptors(this.deferredResultInterceptors);
|
||||
|
||||
if (asyncManager.hasConcurrentResult() &&
|
||||
asyncManager.getConcurrentResultContext().length > 0 &&
|
||||
asyncManager.getConcurrentResultContext()[0] instanceof ModelAndViewContainer) {
|
||||
|
||||
if (asyncManager.hasConcurrentResult()) {
|
||||
Object result = asyncManager.getConcurrentResult();
|
||||
mavContainer = (ModelAndViewContainer) asyncManager.getConcurrentResultContext()[0];
|
||||
asyncManager.clearConcurrentResult();
|
||||
|
||||
Reference in New Issue
Block a user