formatting

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428291 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-03 11:29:06 +00:00
parent 0fd70854be
commit 9b53cd4e29

View File

@ -57,7 +57,6 @@
* LdapUserManagerTest
*
* @author <a href="mailto:jesse@codehaus.org">Jesse McConnell</a>
*
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ -101,8 +100,8 @@ public void setUp()
passwordEncoder = new SHA1PasswordEncoder();
suffix = apacheDs.addSimplePartition( "test", new String[] { "redback", "plexus", "codehaus", "org" } )
.getSuffix();
suffix =
apacheDs.addSimplePartition( "test", new String[]{ "redback", "plexus", "codehaus", "org" } ).getSuffix();
log.info( "DN Suffix: " + suffix );
@ -163,7 +162,9 @@ public void testConnection()
DirContext context = connection.getDirContext();
assertNotNull( context );
} finally {
}
finally
{
connection.close();
}
}
@ -181,7 +182,9 @@ public void testDirectUsersExistence()
assertExist( context, createDn( "jesse" ), "cn", "jesse" );
assertExist( context, createDn( "joakim" ), "cn", "joakim" );
} finally {
}
finally
{
connection.close();
}