jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1461547 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/namepath/NamePathMapperImpl.java
Date Wed, 27 Mar 2013 12:33:06 GMT
Author: thomasm
Date: Wed Mar 27 12:33:06 2013
New Revision: 1461547

URL: http://svn.apache.org/r1461547
Log:
OAK-721 NamePathMapperImpl: weird error message "index > 1" (improved message)

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=1461547&r1=1461546&r2=1461547&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
Wed Mar 27 12:33:06 2013
@@ -107,7 +107,7 @@ public class NamePathMapperImpl implemen
             @Override
             public boolean name(String name, int index) {
                 if (index > 1) {
-                    error("index > 1");
+                    error("index > 1; = " + index + " for path " + oakPath + " and name
" + name);
                 }
                 String p = nameMapper.getJcrName(name);
                 elements.add(p);



Mime
View raw message