mbaedke commented on code in PR #2625:
URL: https://github.com/apache/jackrabbit-oak/pull/2625#discussion_r2565404373
##########
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/NodeImpl.java:
##########
@@ -1695,6 +1695,11 @@ public Node performNullable() throws RepositoryException
{
});
}
+ @Override
+ public long getEstimatedChildNodes() throws RepositoryException {
+ return
sessionContext.getNodeCounterMBean().getEstimatedNodeCount(dlg.getPath());
+ }
+
Review Comment:
sessionContext.getNodeCounterMBean() may be null.
--
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]