jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1188603 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
Date Tue, 25 Oct 2011 11:02:13 GMT
Author: mduerig
Date: Tue Oct 25 11:02:13 2011
New Revision: 1188603

URL: http://svn.apache.org/viewvc?rev=1188603&view=rev
Log:
JCR-3110: QNodeTypeDefinitionImpl.getSerializablePropertyDefs() might return non serializable
property definitions

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java?rev=1188603&r1=1188602&r2=1188603&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
Tue Oct 25 11:02:13 2011
@@ -393,7 +393,7 @@ public class QNodeTypeDefinitionImpl imp
             if (pd instanceof Serializable) {
                 defs.add(pd);
             } else {
-                defs.add(pd);
+                defs.add(new QPropertyDefinitionImpl(pd)); 
             }
         }
         return defs;



Mime
View raw message