cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r124966 - /cocoon/trunk/tools/src/anttasks/XConfToolTask.java
Date Wed, 12 Jan 2005 10:14:16 GMT
Author: antonio
Date: Wed Jan 12 02:14:15 2005
New Revision: 124966

URL: http://svn.apache.org/viewcvs?view=rev&rev=124966
Log:
Don't create a new Boolean
Modified:
   cocoon/trunk/tools/src/anttasks/XConfToolTask.java

Modified: cocoon/trunk/tools/src/anttasks/XConfToolTask.java
Url: http://svn.apache.org/viewcvs/cocoon/trunk/tools/src/anttasks/XConfToolTask.java?view=diff&rev=124966&p1=cocoon/trunk/tools/src/anttasks/XConfToolTask.java&r1=124965&p2=cocoon/trunk/tools/src/anttasks/XConfToolTask.java&r2=124966
==============================================================================
--- cocoon/trunk/tools/src/anttasks/XConfToolTask.java	(original)
+++ cocoon/trunk/tools/src/anttasks/XConfToolTask.java	Wed Jan 12 02:14:15 2005
@@ -300,7 +300,7 @@
             // Override addComments from ant task if specified as an attribute
             String addCommentsAttr = getAttribute(elem, "add-comments", replaceProperties);
             if ((addCommentsAttr!=null) && (addCommentsAttr.length()>0)) {
-                setAddComments(new Boolean(addCommentsAttr));
+                setAddComments(Boolean.valueOf(addCommentsAttr));
             }
 
             // Allow multiple attributes to be added or modified

Mime
View raw message