jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1418383 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java
Date Fri, 07 Dec 2012 16:36:14 GMT
Author: mduerig
Date: Fri Dec  7 16:36:12 2012
New Revision: 1418383

URL: http://svn.apache.org/viewvc?rev=1418383&view=rev
Log:
OAK-266: Clarify Tree interface

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java?rev=1418383&r1=1418382&r2=1418383&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java
Fri Dec  7 16:36:12 2012
@@ -153,7 +153,7 @@ public interface NodeBuilder {
      * @param property  The property state to set
      * @return this builder
      */
-    NodeBuilder setProperty(PropertyState property);
+    NodeBuilder setProperty(@Nonnull PropertyState property);
 
     /**
      * Set a property state
@@ -165,7 +165,7 @@ public interface NodeBuilder {
      * @param name  name of the property
      * @return this builder
      */
-    <T> NodeBuilder setProperty(String name, T value);
+    <T> NodeBuilder setProperty(String name, @Nonnull T value);
 
     /**
      * Set a property state
@@ -174,7 +174,7 @@ public interface NodeBuilder {
      * @param <T>  The type of this property.
      * @return this builder
      */
-    <T> NodeBuilder setProperty(String name, T value, Type<T> type);
+    <T> NodeBuilder setProperty(String name, @Nonnull T value, Type<T> type);
 
     /**
     * Remove the named property. This method has no effect if a



Mime
View raw message