jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1344022 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
Date Tue, 29 May 2012 22:01:36 GMT
Author: mduerig
Date: Tue May 29 22:01:36 2012
New Revision: 1344022

URL: http://svn.apache.org/viewvc?rev=1344022&view=rev
Log:
OAK-37: Use nullability annotation to enforce/document API contract
- replace accidential used of NotNull with Nonnull

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java?rev=1344022&r1=1344021&r2=1344022&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/ContentSession.java
Tue May 29 22:01:36 2012
@@ -16,8 +16,6 @@
  */
 package org.apache.jackrabbit.oak.api;
 
-import com.sun.istack.internal.NotNull;
-
 import javax.annotation.Nonnull;
 import java.io.Closeable;
 
@@ -73,7 +71,7 @@ public interface ContentSession extends 
      *
      * @return  the current root
      */
-    @NotNull
+    @Nonnull
     Root getCurrentRoot();
 
     /**
@@ -81,7 +79,7 @@ public interface ContentSession extends 
      *
      * @return the query engine
      */
-    @NotNull
+    @Nonnull
     QueryEngine getQueryEngine();
 
     /**



Mime
View raw message