jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1451532 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java
Date Fri, 01 Mar 2013 08:59:17 GMT
Author: angela
Date: Fri Mar  1 08:59:17 2013
New Revision: 1451532

URL: http://svn.apache.org/r1451532
Log:
OAK-414: add annotations

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java?rev=1451532&r1=1451531&r2=1451532&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/xml/ProtectedItemImporter.java
Fri Mar  1 08:59:17 2013
@@ -16,6 +16,7 @@
  */
 package org.apache.jackrabbit.oak.spi.xml;
 
+import javax.annotation.Nonnull;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
@@ -45,10 +46,10 @@ public abstract interface ProtectedItemI
      * @return {@code true} if this importer was successfully initialized and
      * is able to handle an import with the given setup; {@code false} otherwise.
      */
-    boolean init(Session session, Root root,
-                 NamePathMapper namePathMapper,
+    boolean init(@Nonnull Session session, @Nonnull Root root,
+                 @Nonnull NamePathMapper namePathMapper,
                  boolean isWorkspaceImport, int uuidBehavior,
-                 ReferenceChangeTracker referenceTracker);
+                 @Nonnull ReferenceChangeTracker referenceTracker);
 
     /**
      * Post processing protected reference properties underneath a protected



Mime
View raw message