jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1374980 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java
Date Mon, 20 Aug 2012 11:46:23 GMT
Author: mduerig
Date: Mon Aug 20 11:46:23 2012
New Revision: 1374980

URL: http://svn.apache.org/viewvc?rev=1374980&view=rev
Log:
OAK-23: move handling of identifier paths into path mapper
logging

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java?rev=1374980&r1=1374979&r2=1374980&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java
Mon Aug 20 11:46:23 2012
@@ -165,10 +165,12 @@ public class NamePathMapperImpl implemen
         if (length > 0 && jcrPath.charAt(0) == '[') {
             if (jcrPath.charAt(length - 1) != ']') {
                 // TODO error handling?
+                log.debug("Could not parse path " + jcrPath + ": unterminated identifier");
                 return null;
             }
             if (this.idManager == null) {
                 // TODO error handling?
+                log.debug("Could not parse path " + jcrPath + ": could not resolve identifier");
                 return null;
             }
             return this.idManager.getPath(jcrPath.substring(1, length - 1));



Mime
View raw message