jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1511310 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
Date Wed, 07 Aug 2013 13:46:58 GMT
Author: mduerig
Date: Wed Aug  7 13:46:58 2013
New Revision: 1511310

URL: http://svn.apache.org/r1511310
Log:
@Nonnull for SessionContext

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java?rev=1511310&r1=1511309&r2=1511310&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
Wed Aug  7 13:46:58 2013
@@ -101,8 +101,8 @@ public class SessionContext implements N
     private ObservationManagerImpl observationManager;
 
     SessionContext(
-            RepositoryImpl repository, Whiteboard whiteboard,
-            Map<String, Object> attributes, final SessionDelegate delegate) {
+            @Nonnull RepositoryImpl repository, @Nonnull Whiteboard whiteboard,
+            Map<String, Object> attributes, @Nonnull final SessionDelegate delegate)
{
         this.repository = checkNotNull(repository);
         this.whiteboard = checkNotNull(whiteboard);
         this.delegate = checkNotNull(delegate);
@@ -155,10 +155,12 @@ public class SessionContext implements N
         return workspace.getReadWriteNodeTypeManager();
     }
 
+    @Nonnull
     public Repository getRepository() {
         return repository;
     }
 
+    @Nonnull
     public SessionDelegate getSessionDelegate() {
         return delegate;
     }



Mime
View raw message