jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r741052 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java
Date Thu, 05 Feb 2009 09:13:51 GMT
Author: angela
Date: Thu Feb  5 09:13:51 2009
New Revision: 741052

URL: http://svn.apache.org/viewvc?rev=741052&view=rev
Log:
JCR-1965: [PATCH] Remove Stutter in ItemValidator

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java?rev=741052&r1=741051&r2=741052&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemValidator.java
Thu Feb  5 09:13:51 2009
@@ -356,7 +356,7 @@
         }
         if (permissions > Permission.NONE) {
             Path path = item.getPrimaryPath();
-            if (!accessMgr.isGranted(item.getPrimaryPath(), permissions)) {
+            if (!accessMgr.isGranted(path, permissions)) {
                 return false;
             }
         }



Mime
View raw message