jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r965539 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java
Date Mon, 19 Jul 2010 15:57:36 GMT
Author: stefan
Date: Mon Jul 19 15:57:36 2010
New Revision: 965539

URL: http://svn.apache.org/viewvc?rev=965539&view=rev
Log:
JCR-2681: XMLPersistanceManager doesn't preserve a property's 'multiValued' attribute

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java?rev=965539&r1=965538&r2=965539&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/xml/XMLPersistenceManager.java
Mon Jul 19 15:57:36 2010
@@ -315,7 +315,7 @@ public class XMLPersistenceManager exten
 
         // multiValued
         String multiValued = walker.getAttribute(MULTIVALUED_ATTRIBUTE);
-        state.setMultiValued(Boolean.getBoolean(multiValued));
+        state.setMultiValued(Boolean.parseBoolean(multiValued));
 
         // modification count
         String modCount = walker.getAttribute(MODCOUNT_ATTRIBUTE);



Mime
View raw message