jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1420213 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeBuilder.java
Date Tue, 11 Dec 2012 15:16:40 GMT
Author: angela
Date: Tue Dec 11 15:16:35 2012
New Revision: 1420213

URL: http://svn.apache.org/viewvc?rev=1420213&view=rev
Log:
minor improvement (nullable annotations)

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=1420213&r1=1420212&r2=1420213&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
Tue Dec 11 15:16:35 2012
@@ -103,6 +103,7 @@ public interface NodeBuilder {
      *
      * @return child node names
      */
+    @Nonnull
     Iterable<String> getChildNodeNames();
 
     /**
@@ -137,6 +138,7 @@ public interface NodeBuilder {
      *
      * @return current properties
      */
+    @Nonnull
     Iterable<? extends PropertyState> getProperties();
 
     /**
@@ -146,6 +148,7 @@ public interface NodeBuilder {
      * @param name property name
      * @return property state
      */
+    @CheckForNull
     PropertyState getProperty(String name);
 
     /**
@@ -153,6 +156,7 @@ public interface NodeBuilder {
      * @param property  The property state to set
      * @return this builder
      */
+    @Nonnull
     NodeBuilder setProperty(@Nonnull PropertyState property);
 
     /**
@@ -165,6 +169,7 @@ public interface NodeBuilder {
      * @param name  name of the property
      * @return this builder
      */
+    @Nonnull
     <T> NodeBuilder setProperty(String name, @Nonnull T value);
 
     /**
@@ -174,6 +179,7 @@ public interface NodeBuilder {
      * @param <T>  The type of this property.
      * @return this builder
      */
+    @Nonnull
     <T> NodeBuilder setProperty(String name, @Nonnull T value, Type<T> type);
 
     /**



Mime
View raw message