jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1342212 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateBuilder.java
Date Thu, 24 May 2012 11:57:56 GMT
Author: mduerig
Date: Thu May 24 11:57:56 2012
New Revision: 1342212

URL: http://svn.apache.org/viewvc?rev=1342212&view=rev
Log:
OAK-37: Use nullability annotation to enforce/document API contract
- add nullability annotations to NodeStateBuilder

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateBuilder.java?rev=1342212&r1=1342211&r2=1342212&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateBuilder.java
Thu May 24 11:57:56 2012
@@ -18,6 +18,7 @@ package org.apache.jackrabbit.oak.spi.st
 
 import org.apache.jackrabbit.oak.api.CoreValue;
 
+import javax.annotation.Nonnull;
 import java.util.List;
 
 /**
@@ -31,6 +32,7 @@ public interface NodeStateBuilder {
      *
      * @return immutable node state
      */
+    @Nonnull
     NodeState getNodeState();
 
     /**



Mime
View raw message