Browse Source

use valueof instead of new Boolean

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274931 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 22 years ago
parent
commit
2b58809b0a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/IntrospectionHelper.java

+ 2
- 1
src/main/org/apache/tools/ant/IntrospectionHelper.java View File

@@ -894,7 +894,8 @@ public final class IntrospectionHelper implements BuildListener {
public void set(Project p, Object parent, String value)
throws InvocationTargetException, IllegalAccessException {
m.invoke(parent,
new Boolean[] {new Boolean(Project.toBoolean(value))});
new Boolean[] {
Boolean.valueOf(Project.toBoolean(value))});
}

};


Loading…
Cancel
Save