You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2017/06/02 12:18:04 UTC

[jira] [Created] (OAK-6301) Make QueryEngineSettingsMBeanImpl an inner class of o.a.j.oak.Oak

angela created OAK-6301:
---------------------------

             Summary: Make QueryEngineSettingsMBeanImpl an inner class of o.a.j.oak.Oak
                 Key: OAK-6301
                 URL: https://issues.apache.org/jira/browse/OAK-6301
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, query
            Reporter: angela
            Assignee: angela


looking at the query code base in the light of OAK-6069 i came across {{o.a.j.oak.query.QueryEngineSettingsMBeanImpl}} wondering why we have 2 implementations of the {{QueryEngineSettingsMBean}} interface in the same package. While {{QueryEngineSettings}} is widely used across the oak code base the {{QueryEngineSettingsMBeanImpl}} has a single usage in the {{o.a.j.oak.Oak}} helper class.

[~tmueller] explained me the reason for having this additional implementation (instead of having just a single one). however, i would suggest to make {{QueryEngineSettingsMBeanImpl}} an inner class of the {{Oak}} helper and thus ensure that it's not used mistakenly or causes extra confusion (as it did for me ;-))



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)