mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
committed by
Sam Brannen
parent
487e14d549
commit
f8340838b3
+1
-1
@@ -147,7 +147,7 @@ class DefaultMvcResult implements MvcResult {
|
||||
" was not set during the specified timeToWait=" + timeToWait);
|
||||
}
|
||||
Object result = this.asyncResult.get();
|
||||
Assert.state(result != RESULT_NONE, "Async result for handler [" + this.handler + "] was not set");
|
||||
Assert.state(result != RESULT_NONE, () -> "Async result for handler [" + this.handler + "] was not set");
|
||||
return this.asyncResult.get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user