Apply Checkstyle EmptyStatementCheck module

This commit adds Checkstyle `EmptyStatementCheck` module and aligns code with it.
This commit is contained in:
Johnny Lim
2017-11-17 03:37:00 +09:00
committed by Rob Winch
parent be397b8b33
commit 5f518d00e5
9 changed files with 37 additions and 37 deletions

View File

@@ -240,7 +240,7 @@ public class FilterChainProxyTests {
}
}).when(filter).doFilter(any(HttpServletRequest.class),
any(HttpServletResponse.class), any(FilterChain.class));
;
fcp.doFilter(request, response, innerChain);
assertThat(SecurityContextHolder.getContext().getAuthentication()).isSameAs(expected);
return null;

View File

@@ -403,7 +403,6 @@ public class SecurityContextHolderAwareRequestFilterTests {
this.filter.setRolePrefix("PREFIX_");
assertThat(wrappedRequest().isUserInRole("PREFIX_USER")).isTrue();
;
}
private HttpServletRequest wrappedRequest() throws Exception {