rishabhdaim commented on code in PR #937:
URL: https://github.com/apache/jackrabbit-oak/pull/937#discussion_r1193607615
##########
oak-core/src/main/java/org/apache/jackrabbit/oak/core/MutableRoot.java:
##########
@@ -359,6 +369,17 @@ void updated() {
modCount++;
}
+ /**
+ * Callback when a new MutableTree is created.
+ *
+ * @param t the new MutableTree.
+ */
+ void created(MutableTree t) {
+ if (forceApplyPendingMoves()) {
+ trees.put(t, null);
Review Comment:
```suggestion
treeSet.add(t);
```
--
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]