jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r620492 - /jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Batch.java
Date Mon, 11 Feb 2008 14:45:55 GMT
Author: reschke
Date: Mon Feb 11 06:45:54 2008
New Revision: 620492

URL: http://svn.apache.org/viewvc?rev=620492&view=rev
Log:
JCR-1368: state that addProperty should succeed if the property already exists

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

Modified: jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Batch.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Batch.java?rev=620492&r1=620491&r2=620492&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Batch.java (original)
+++ jackrabbit/trunk/jackrabbit-spi/src/main/java/org/apache/jackrabbit/spi/Batch.java Mon
Feb 11 06:45:54 2008
@@ -103,7 +103,9 @@
 
     /**
      * Add a new property to the persistent layer.
-     *
+     * <p>
+     * Note: this call should succeed in case the property already exists.
+     * 
      * @param parentId NodeId identifying the parent node.
      * @param propertyName Name of the property to be created.
      * @param value The qualified value of the property to be created.
@@ -132,6 +134,8 @@
 
     /**
      * Add a new multi-valued property to the persistent layer.
+     * <p>
+     * Note: this call should succeed in case the property already exists.
      *
      * @param parentId NodeId identifying the parent node.
      * @param propertyName Name of the property to be created.



Mime
View raw message