jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r783331 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java
Date Wed, 10 Jun 2009 12:47:57 GMT
Author: angela
Date: Wed Jun 10 12:47:57 2009
New Revision: 783331

URL: http://svn.apache.org/viewvc?rev=783331&view=rev
Log:
JCR-1104: JSR 283 support

- remove redundant casts now that 283 api is present

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java?rev=783331&r1=783330&r2=783331&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/NodeResolverTest.java
Wed Jun 10 12:47:57 2009
@@ -204,7 +204,7 @@
 
     public void testFindNodesWithNonExistingSearchRoot() throws NotExecutableException, RepositoryException
{
         String searchRoot = nodeResolver.getSearchRoot(UserConstants.NT_REP_AUTHORIZABLE);
-        if (((SessionImpl) superuser).nodeExists(searchRoot)) {
+        if (superuser.nodeExists(searchRoot)) {
             throw new NotExecutableException();
         }
 



Mime
View raw message