mreutegg commented on code in PR #724:
URL: https://github.com/apache/jackrabbit-oak/pull/724#discussion_r991434254
##########
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java:
##########
@@ -96,7 +98,7 @@ public class Jcr {
public Jcr(Oak oak, boolean initialize) {
this.oak = oak;
-
+ createSessionMBeans = true; // by default every (long-living) session
will register an MBean
Review Comment:
Looks good to me, but I would rather move this initialization up to where
the field is defined.
--
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]