jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r797416 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
Date Fri, 24 Jul 2009 10:59:35 GMT
Author: angela
Date: Fri Jul 24 10:59:35 2009
New Revision: 797416

URL: http://svn.apache.org/viewvc?rev=797416&view=rev
Log:
JCR-2230: JSR 283 Evaluate Capabilities

- added trivial implemenation that always returns true.

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

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java?rev=797416&r1=797415&r2=797416&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
Fri Jul 24 10:59:35 2009
@@ -539,8 +539,8 @@
      */
     public boolean hasCapability(String methodName, Object target, Map arguments)
             throws RepositoryException {
-        // TODO: implementation missing
-        throw new UnsupportedRepositoryOperationException("JCR-1104");
+        // most trivial implementation allowed by the specification.
+        return true;
     }
 
     /**



Mime
View raw message