peterreilly 2003/07/24 06:54:05
Modified: src/main/org/apache/tools/ant IntrospectionHelper.java
Log:
use valueof instead of new Boolean
Revision Changes Path
1.63 +2 -1
ant/src/main/org/apache/tools/ant/IntrospectionHelper.java
Index: IntrospectionHelper.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/IntrospectionHelper.java,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- IntrospectionHelper.java 23 Jul 2003 12:22:36 -0000 1.62
+++ IntrospectionHelper.java 24 Jul 2003 13:54:04 -0000 1.63
@@ -894,7 +894,8 @@
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))});
}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]