From 80ce7ac4aae62cc5c1ac09ce0bfd7cb8353f4da0 Mon Sep 17 00:00:00 2001 From: yanglin Date: Fri, 21 Mar 2025 15:32:36 +0800 Subject: [PATCH] REQ-3540: misc --- .../axzo/nanopart/doc/file/index/copy/ConnectNodeVisitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }