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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/05/16 13:59:16 UTC

[jira] [Closed] (OAK-4310) Avoid instanceof checks in SegmentDiscoveryLiteService

     [ https://issues.apache.org/jira/browse/OAK-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-4310.
---------------------------------

Bulk close for 1.5.2

> 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-tar, segmentmk
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: 1.6, 1.5.2
>
>
> {{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)