提交 c1ff97e2 编写于 作者: I igor-suhorukov 提交者: Juergen Hoeller

Short-circuit logic should be used in boolean contexts

上级 dd96c873
......@@ -164,7 +164,7 @@ public final class MockMvc {
filterChain.doFilter(request, servletResponse);
if (DispatcherType.ASYNC.equals(request.getDispatcherType()) &&
asyncContext != null & !request.isAsyncStarted()) {
asyncContext != null && !request.isAsyncStarted()) {
asyncContext.complete();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册