jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r170146 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java
Date Sat, 14 May 2005 17:21:04 GMT
Author: stefan
Date: Sat May 14 10:21:03 2005
New Revision: 170146

URL: http://svn.apache.org/viewcvs?rev=170146&view=rev
Log:
fixed JCR-119 (workspace.copy does not copy binary properties properly)

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

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java?rev=170146&r1=170145&r2=170146&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java
Sat May 14 10:21:03 2005
@@ -1742,8 +1742,8 @@
                 for (int i = 0; i < values.length; i++) {
                     newValues[i] = values[i].createCopy();
                 }
+                newState.setValues(newValues);
             }
-            newState.setValues(values);
         }
         return newState;
     }



Mime
View raw message