jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1240871 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
Date Mon, 06 Feb 2012 01:06:38 GMT
Author: dbrosius
Date: Mon Feb  6 01:06:38 2012
New Revision: 1240871

URL: http://svn.apache.org/viewvc?rev=1240871&view=rev
Log:
avoid duplicate calls to getQPath

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java?rev=1240871&r1=1240870&r2=1240871&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventImpl.java
Mon Feb  6 01:06:38 2012
@@ -105,7 +105,7 @@ public final class EventImpl implements 
      */
     public String getPath() throws RepositoryException {
         Path p = getQPath();
-        return p != null ? session.getJCRPath(getQPath()) : null;
+        return p != null ? session.getJCRPath(p) : null;
     }
 
     /**



Mime
View raw message