mirror of https://github.com/apache/archiva.git
fix Inefficient String Buffering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
24f81539f8
commit
eabbeb562e
|
@ -51,7 +51,8 @@ public class ProxyDownloadException
|
||||||
|
|
||||||
private static String constructMessage( String message, Map<String, Exception> failures )
|
private static String constructMessage( String message, Map<String, Exception> failures )
|
||||||
{
|
{
|
||||||
StringBuilder msg = new StringBuilder( message + ":" );
|
StringBuilder msg = new StringBuilder( message );
|
||||||
|
msg.append( ":" );
|
||||||
for ( Map.Entry<String, Exception> entry : failures.entrySet() )
|
for ( Map.Entry<String, Exception> entry : failures.entrySet() )
|
||||||
{
|
{
|
||||||
msg.append( "\n\t" ).append( entry.getKey() ).append( ": " ).append( entry.getValue().getMessage() );
|
msg.append( "\n\t" ).append( entry.getKey() ).append( ": " ).append( entry.getValue().getMessage() );
|
||||||
|
|
Loading…
Reference in New Issue