mirror of
https://github.com/apache/maven.git
synced 2025-02-08 11:05:37 +00:00
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
@ -135,14 +135,17 @@ private void decrypt( Settings settings )
|
||||
List<Server> servers = settings.getServers();
|
||||
|
||||
if ( servers != null && !servers.isEmpty() )
|
||||
{
|
||||
try
|
||||
{
|
||||
for ( Server server : servers )
|
||||
{
|
||||
if ( server.getPassword() != null )
|
||||
{
|
||||
server.setPassword( securityDispatcher.decrypt( server.getPassword() ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ( Exception e )
|
||||
{
|
||||
// 2009-02-12 Oleg: get do this because 2 levels up Exception is
|
||||
@ -150,6 +153,7 @@ private void decrypt( Settings settings )
|
||||
throw new IOException( e.getMessage() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Settings interpolate( Settings settings, MavenExecutionRequest request )
|
||||
throws IOException, XmlPullParserException
|
||||
|
Loading…
x
Reference in New Issue
Block a user