Explorar el Código

Fix leading space characters reported by checkstyle

Antoine hace 8 años
padre
commit
bed4ec7d18

+ 1 - 3
web/src/test/java/org/springframework/security/web/authentication/preauth/j2ee/WebXmlJ2eeDefinedRolesRetrieverTests.java

@@ -47,9 +47,7 @@ public class WebXmlJ2eeDefinedRolesRetrieverTests {
 
 		rolesRetriever.afterPropertiesSet();
 		Set<String> j2eeRoles = rolesRetriever.getMappableAttributes();
-		assertThat(j2eeRoles).isNotNull()
-                .hasSameSizeAs(ROLE1TO4_EXPECTED_ROLES)
-		        .containsAll(ROLE1TO4_EXPECTED_ROLES);
+		assertThat(j2eeRoles).containsAll(ROLE1TO4_EXPECTED_ROLES);
 	}
 
 	@Test