fixed coding style

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2009-02-12 22:58:36 +00:00
parent f3755e8c71
commit dc29595f98

View File

@ -134,22 +134,26 @@ private void decrypt( Settings settings )
{
List<Server> servers = settings.getServers();
if( servers != null && !servers.isEmpty() )
if ( servers != null && !servers.isEmpty() )
{
try
{
for( Server server : servers )
for ( Server server : servers )
{
if ( server.getPassword() != null )
{
if( server.getPassword() != null )
server.setPassword( securityDispatcher.decrypt( server.getPassword() ) );
}
}
catch( Exception e )
}
catch ( Exception e )
{
// 2009-02-12 Oleg: get do this because 2 levels up Exception is
// caught, not exception type does not matter
throw new IOException( e.getMessage() );
}
}
}
private Settings interpolate( Settings settings, MavenExecutionRequest request )
throws IOException, XmlPullParserException