SEC-2690: Formatting cleanup

This commit is contained in:
Rob Winch
2014-07-28 10:14:23 -05:00
parent 93b863d2e5
commit 6b43b261bc
7 changed files with 130 additions and 126 deletions

View File

@@ -20,9 +20,9 @@ public class LdapAuthorityTests {
@Before
public void setUp() {
Map<String,String[]> attributes = new HashMap<String,String[]>();
attributes.put(SpringSecurityLdapTemplate.DN_KEY,new String[] {DN});
attributes.put("mail",new String[] {"filip@ldap.test.org", "filip@ldap.test2.org"});
Map<String, String[]> attributes = new HashMap<String, String[]>();
attributes.put(SpringSecurityLdapTemplate.DN_KEY, new String[]{DN});
attributes.put("mail", new String[]{"filip@ldap.test.org", "filip@ldap.test2.org"});
authority = new LdapAuthority("testRole", DN, attributes);
}
@@ -47,6 +47,6 @@ public class LdapAuthorityTests {
@Test
public void testGetAuthority() throws Exception {
assertNotNull(authority.getAuthority());
assertEquals("testRole",authority.getAuthority());
assertEquals("testRole", authority.getAuthority());
}
}