[ 
https://issues.apache.org/jira/browse/OAK-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258146#comment-15258146
 ] 

Francesco Mari commented on OAK-4310:
-------------------------------------

Fixed in r1741034.

> Avoid instanceof checks in SegmentDiscoveryLiteService
> ------------------------------------------------------
>
>                 Key: OAK-4310
>                 URL: https://issues.apache.org/jira/browse/OAK-4310
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-next, segmentmk
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>
> {{SegmentDiscoveryLiteService}} performs instanceof checks on the 
> {{NodeStore}} service it depends on. A better approach would be to register 
> the {{DiscoveryLiteDescriptor}} service as part of the activation of 
> {{SegmentNodeStoreService}} since the descriptor is anyway tied to the 
> content managed by that instance of {{NodeStore}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to