kwin commented on code in PR #408:
URL:
https://github.com/apache/jackrabbit-filevault/pull/408#discussion_r2694297530
##########
vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java:
##########
@@ -645,12 +645,18 @@ private void loadNamespaces(Set<String> prefixes, String
parentPath, Node node)
addNamespace(prefixes, p);
}
}
- for (NodeIterator iter = node.getNodes(); iter.hasNext(); ) {
+ boolean hasOrderableChildNodes =
node.getPrimaryNodeType().hasOrderableChildNodes();
Review Comment:
I see that the same logic is used inside
https://github.com/apache/jackrabbit-filevault/blob/e67d0425c6dea23725c7014f5644515d156aaf38/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java#L461
so we should be fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]