mirror of https://github.com/apache/maven.git
Use StringBuilder
This commit is contained in:
parent
71f73b29fa
commit
c30c76e423
|
@ -245,7 +245,7 @@ public class ArtifactTransferEvent
|
|||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.append( "TransferEvent[" );
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ public final class CLIReportingUtils
|
|||
{
|
||||
final String LS = System.getProperty( "line.separator" );
|
||||
Properties properties = getBuildProperties();
|
||||
StringBuffer version = new StringBuffer();
|
||||
StringBuilder version = new StringBuilder();
|
||||
version.append( createMavenVersionString( properties ) ).append( LS );
|
||||
version.append( reduce( properties.getProperty( "distributionShortName" ) + " home: "
|
||||
+ System.getProperty( "maven.home", "<unknown maven home>" ) ) ).append( LS );
|
||||
|
|
Loading…
Reference in New Issue