Short-circuit logic should be used in boolean contexts

This commit is contained in:
igor-suhorukov
2018-03-29 23:47:40 +03:00
committed by Juergen Hoeller
parent dd96c873e3
commit c1ff97e2a8

View File

@@ -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();
}