diff --git a/doc/doc-server/src/main/java/cn/axzo/nanopart/doc/file/index/copy/ConnectNodeVisitor.java b/doc/doc-server/src/main/java/cn/axzo/nanopart/doc/file/index/copy/ConnectNodeVisitor.java index 50b64c91..1ed7dc68 100644 --- a/doc/doc-server/src/main/java/cn/axzo/nanopart/doc/file/index/copy/ConnectNodeVisitor.java +++ b/doc/doc-server/src/main/java/cn/axzo/nanopart/doc/file/index/copy/ConnectNodeVisitor.java @@ -46,12 +46,12 @@ public class ConnectNodeVisitor extends ValueNodeRecursiveVisitor { continue; } // IMPORTANT: append REVERSED parent path but not parent id, because: - // 1. We're walking the tree up + // 1. We're walking up the tree // 2. The dest parent node may not be the tree root if (destParentNode != null) path = path.append(destParentNode.path().reverse()); } - // reserve the path because we're walking up the tree while building the path + // reserve the path because we're walking up the tree while building the path return path.reverse(); }