1
0
mirror of synced 2026-08-31 22:46:02 +00:00

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
@@ -44,12 +44,11 @@ public class RoleHierarchyImplTests {
authorities0)).isNotNull();
assertThat(
roleHierarchyImpl.getReachableGrantedAuthorities(authorities0)).isEmpty();
;
assertThat(roleHierarchyImpl.getReachableGrantedAuthorities(
authorities1)).isNotNull();
assertThat(
roleHierarchyImpl.getReachableGrantedAuthorities(authorities1)).isEmpty();
;
}
@Test
@@ -68,7 +68,7 @@ public class DelegatingMethodSecurityMetadataSourceTests {
// Exercise the cached case
assertThat(mds.getAttributes(mi)).isSameAs(attributes);
assertThat(mds.getAttributes(
new SimpleMethodInvocation(null, String.class.getMethod("length")))).isEmpty();;
new SimpleMethodInvocation(null, String.class.getMethod("length")))).isEmpty();
}
}