jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r384727 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
Date Fri, 10 Mar 2006 08:11:59 GMT
Author: tripod
Date: Fri Mar 10 00:11:58 2006
New Revision: 384727

URL: http://svn.apache.org/viewcvs?rev=384727&view=rev
Log:
- minor optimization: avoid parsing twice

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java?rev=384727&r1=384726&r2=384727&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
Fri Mar 10 00:11:58 2006
@@ -233,7 +233,7 @@
             /**
              * build and resolve absolute path
              */
-            p = Path.create(getPrimaryPath(), relPath, session.getNamespaceResolver(), true);
+            p = Path.create(getPrimaryPath(), p, true);
             try {
                 ItemId id = session.getHierarchyManager().resolvePath(p);
                 if (id.denotesNode()) {



Mime
View raw message