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-ffa450edef68master
parent
b7120e30cc
commit
96cb878188
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue