Apply Checkstyle EmptyStatementCheck module
This commit adds Checkstyle `EmptyStatementCheck` module and aligns code with it.
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user