Browse Source

Short-circuit logic should be used in boolean contexts

pull/1767/head
igor-suhorukov 7 years ago committed by Juergen Hoeller
parent
commit
c1ff97e2a8
  1. 2
      spring-test/src/main/java/org/springframework/test/web/servlet/MockMvc.java

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

@ -164,7 +164,7 @@ public final class MockMvc { @@ -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();
}

Loading…
Cancel
Save