jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r159491 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java
Date Wed, 30 Mar 2005 16:19:01 GMT
Author: tripod
Date: Wed Mar 30 08:18:59 2005
New Revision: 159491

URL: http://svn.apache.org/viewcvs?view=rev&rev=159491
Log:
- fixing wrong type of jcr:predecessors after checkin

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java?view=diff&r1=159490&r2=159491
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java Wed Mar 30
08:18:59 2005
@@ -2699,7 +2699,7 @@
         prop.save();
         prop = internalSetProperty(JCR_BASEVERSION, InternalValue.create(new UUID(v.getUUID())));
         prop.save();
-        prop = internalSetProperty(JCR_PREDECESSORS, new InternalValue[0]);
+        prop = internalSetProperty(JCR_PREDECESSORS, new InternalValue[0], PropertyType.REFERENCE);
         prop.save();
         return v;
     }



Mime
View raw message