Skip to content

Commit 547b841

Browse files
committed
Oops, add uncommitted change for last commit.
1 parent f61f6f2 commit 547b841

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spring-test/src/main/java/org/springframework/test/web/servlet/TestDispatcherServlet.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ protected void service(HttpServletRequest request, HttpServletResponse response)
7979
MockHttpServletRequest mockRequest = WebUtils.getNativeRequest(request, MockHttpServletRequest.class);
8080
Assert.notNull(mockRequest, "Expected MockHttpServletRequest");
8181
asyncContext = (MockAsyncContext) mockRequest.getAsyncContext();
82-
Assert.notNull(asyncContext, () ->
83-
"Outer request wrapper " + request.getClass().getName() + " has an AsyncContext," +
84-
"but it is not a MockAsyncContext, while the nested " +
85-
mockRequest.getClass().getName() + " does not have an AsyncContext at all.");
82+
Assert.notNull(asyncContext, "Outer request wrapper " + request.getClass().getName() +
83+
" has an AsyncContext,but it is not a MockAsyncContext, while the nested " +
84+
mockRequest.getClass().getName() + " does not have an AsyncContext at all.");
8685
}
8786

8887
final CountDownLatch dispatchLatch = new CountDownLatch(1);

0 commit comments

Comments
 (0)