cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r375304 - /cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java
Date Mon, 06 Feb 2006 16:14:07 GMT
Author: jbq
Date: Mon Feb  6 08:14:05 2006
New Revision: 375304

URL: http://svn.apache.org/viewcvs?rev=375304&view=rev
Log:
Boolean.parseBoolean(java.lang.String) is only available in JDK 1.5
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html#parseBoolean(java.lang.String)

Modified:
    cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java

Modified: cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java?rev=375304&r1=375303&r2=375304&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java (original)
+++ cocoon/branches/BRANCH_2_1_X/tools/src/loader/Loader.java Mon Feb  6 08:14:05 2006
@@ -89,7 +89,7 @@
 
         String verboseProperty = System.getProperty(VERBOSE_PROPERTY);
         if (verboseProperty != null)
-            verbose = Boolean.parseBoolean(verboseProperty);
+            verbose = Boolean.valueOf(verboseProperty).booleanValue();
         String classPath = System.getProperty(CLASSPATH_PROPERTY);
 
         if (verbose) System.out.println("-------------------- Loading --------------------");



Mime
View raw message