You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/04 09:23:15 UTC

svn commit: r618197 - /lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java

Author: andreas
Date: Mon Feb  4 00:23:13 2008
New Revision: 618197

URL: http://svn.apache.org/viewvc?rev=618197&view=rev
Log:
Replaced Boolean.parseBoolean() with valueOf() to stay compatible with Java 1.4

Modified:
    lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java

Modified: lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java?rev=618197&r1=618196&r2=618197&view=diff
==============================================================================
--- lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java (original)
+++ lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java Mon Feb  4 00:23:13 2008
@@ -155,7 +155,7 @@
             
             if (collectionElement.hasAttribute(ATTRIBUTE_ALL_LANGUAGES)) {
                 String value = collectionElement.getAttribute(ATTRIBUTE_ALL_LANGUAGES);
-                this.allLanguages = Boolean.parseBoolean(value);
+                this.allLanguages = Boolean.valueOf(value).booleanValue();
             }
         } catch (RuntimeException e) {
             throw e;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org