mirror of https://github.com/apache/maven.git
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:
parent
f3755e8c71
commit
dc29595f98
|
@ -134,21 +134,25 @@ public class DefaultMavenSettingsBuilder
|
|||
{
|
||||
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
|
||||
// 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 )
|
||||
|
|
Loading…
Reference in New Issue