rishabhdaim commented on code in PR #937:
URL: https://github.com/apache/jackrabbit-oak/pull/937#discussion_r1193595918
##########
oak-core/src/main/java/org/apache/jackrabbit/oak/core/MutableRoot.java:
##########
@@ -384,6 +405,16 @@ private static Map<String, Object>
newInfoWithCommitContext(Map<String, Object>
.build();
}
+ private void applyPendingMovesToKnownTrees() {
+ if (forceApplyPendingMoves()) {
+ trees.forEach((t, o) -> { if (t != null) t.getName(); });
Review Comment:
```suggestion
treeSet.stream().filter(Objects::nonNull).forEach(MutableTree::getName);
```
--
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]