jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r771350 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
Date Mon, 04 May 2009 16:26:58 GMT
Author: reschke
Date: Mon May  4 16:26:58 2009
New Revision: 771350

URL: http://svn.apache.org/viewvc?rev=771350&view=rev
Log:
JCR-2085: make code JDK 1.4 compatible

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java?rev=771350&r1=771349&r2=771350&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
Mon May  4 16:26:58 2009
@@ -666,7 +666,7 @@
     protected void ensureSupportsFeature(String feature)
             throws NotExecutableException {
         String value = superuser.getRepository().getDescriptor(feature);
-        if (!Boolean.parseBoolean(value)) {
+        if (! Boolean.valueOf(value).booleanValue()) {
             throw new NotExecutableException(
                     "Repository feature not supported: " + feature);
         }



Mime
View raw message