Avoid calling toString() on String objects; this is unnecessary.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405631 13f79535-47bb-0310-9956-ffa450edef68
master
Robert Scholte 2012-11-04 20:44:47 +00:00
parent b7120e30cc
commit 96cb878188
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ public class AntPropertyHelper
if ( val == null )
{
val = System.getProperty( name.toString() );
val = System.getProperty( name );
}
}
@ -190,7 +190,7 @@ public class AntPropertyHelper
val = super.getPropertyHook( ns, name, user );
if ( val == null )
{
val = System.getProperty( name.toString() );
val = System.getProperty( name );
}
}