jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1407475 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Date Fri, 09 Nov 2012 14:52:44 GMT
Author: angela
Date: Fri Nov  9 14:52:43 2012
New Revision: 1407475

URL: http://svn.apache.org/viewvc?rev=1407475&view=rev
Log:
minor improvement: call ac-related methods should state "not implemented" instead of "dummy
implementation"

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java?rev=1407475&r1=1407474&r2=1407475&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Fri Nov  9 14:52:43 2012
@@ -360,11 +360,11 @@ public class SessionImpl extends Abstrac
         String oakPath = dlg.getOakPathOrNull(absPath);
         if (oakPath == null) {
             // TODO should we throw an exception here?
-            return TODO.dummyImplementation().returnValue(false);
+            return TODO.unimplemented().returnValue(false);
         }
 
         // TODO implement hasPermission
-        return TODO.dummyImplementation().returnValue(true);
+        return TODO.unimplemented().returnValue(true);
     }
 
     /**
@@ -389,7 +389,7 @@ public class SessionImpl extends Abstrac
     @Nonnull
     public AccessControlManager getAccessControlManager()
             throws RepositoryException {
-        return TODO.dummyImplementation().returnValue(new AccessControlManager() {
+        return TODO.unimplemented().returnValue(new AccessControlManager() {
             @Override
             public void setPolicy(String absPath, AccessControlPolicy policy) {
                 throw new AccessControlException(policy.toString());



Mime
View raw message