Apply Checkstyle EmptyStatementCheck module
This commit adds Checkstyle `EmptyStatementCheck` module and aligns code with it.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -403,7 +403,6 @@ public class SecurityContextHolderAwareRequestFilterTests {
|
||||
this.filter.setRolePrefix("PREFIX_");
|
||||
|
||||
assertThat(wrappedRequest().isUserInRole("PREFIX_USER")).isTrue();
|
||||
;
|
||||
}
|
||||
|
||||
private HttpServletRequest wrappedRequest() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user