cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r124623 - /cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java
Date Sat, 08 Jan 2005 05:12:40 GMT
Author: antonio
Date: Fri Jan  7 21:12:38 2005
New Revision: 124623

URL: http://svn.apache.org/viewcvs?view=rev&rev=124623
Log:
Don't create a new Boolean
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java?view=diff&rev=124623&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java&r1=124622&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java&r2=124623
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/scratchpad/java/org/apache/cocoon/ant/CocoonTask.java
Fri Jan  7 21:12:38 2005
@@ -45,6 +45,7 @@
 import org.apache.cocoon.Constants;
 import org.apache.cocoon.environment.commandline.CommandLineContext;
 import org.apache.cocoon.util.IOUtils;
+import org.apache.commons.lang.BooleanUtils;
 import org.apache.commons.lang.SystemUtils;
 
 import org.apache.log.Hierarchy;
@@ -192,7 +193,7 @@
      * @param  preCompileOnly  The new precompileOnly value
      */
     public void setPrecompileOnly(boolean preCompileOnly) {
-        //this.preCompileOnly = new Boolean(preCompileOnly);
+        //this.preCompileOnly = BooleanUtils.toBooleanObject(preCompileOnly);
     }
 
 
@@ -202,7 +203,7 @@
      * @param  followLinks  The new followLinks value
      */
     public void setFollowLinks(boolean followLinks) {
-        this.followLinks = new Boolean(followLinks);
+        this.followLinks = BooleanUtils.toBooleanObject(followLinks);
     }
 
 

Mime
View raw message