[Yanel-commits] rev 33920 - public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/navigation

michi at wyona.com michi at wyona.com
Mon Mar 24 00:45:00 CET 2008


Author: michi
Date: 2008-03-24 00:44:59 +0100 (Mon, 24 Mar 2008)
New Revision: 33920

Modified:
   public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java
Log:
getElement fixed re subtrees

Modified: public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java
===================================================================
--- public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java	2008-03-23 23:40:26 UTC (rev 33919)
+++ public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java	2008-03-23 23:44:59 UTC (rev 33920)
@@ -125,7 +125,7 @@
                for (int i = 3; i < names.length; i++) {
                    subtreePath = subtreePath + "/" + names[i];
                }
-               //log.debug("Subtree path: " + subtreePath);
+               log.debug("Subtree path: " + subtreePath);
            } else {
                //log.debug("No subtree.");
            }
@@ -145,8 +145,8 @@
            }
            if (child != null) {
                if (subtreePath != null) {
-                   //log.debug("Subtree path: " + subtreePath);
-                   return getElement(parent, subtreePath);
+                   log.debug("Subtree path: " + subtreePath);
+                   return getElement(child, subtreePath);
                }
                return child;
            } else {



More information about the Yanel-commits mailing list