jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1387529 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Date Wed, 19 Sep 2012 11:36:25 GMT
Author: mduerig
Date: Wed Sep 19 11:36:25 2012
New Revision: 1387529

URL: http://svn.apache.org/viewvc?rev=1387529&view=rev
Log:
Dummy implementation always returns true: improve compatibility with applications.

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=1387529&r1=1387528&r2=1387529&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
Wed Sep 19 11:36:25 2012
@@ -356,8 +356,8 @@ public class SessionImpl extends Abstrac
             return TODO.dummyImplementation().returnValue(false);
         }
 
-        // TODO
-        return false;
+        // TODO implement hasPermission
+        return TODO.dummyImplementation().returnValue(true);
     }
 
     /**



Mime
View raw message