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 "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/09/10 16:03:45 UTC

[jira] [Comment Edited] (OAK-3390) Avoid instanceof check in DocumentNodeStore

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

Stefan Egli edited comment on OAK-3390 at 9/10/15 2:02 PM:
-----------------------------------------------------------

-What about introducing {{DocumentStore.unwrap()}} which would provide the underlying documentstore should it be wrapped, or this ?- probably better to make something generic as suggested offline by Julian


was (Author: egli):
What about introducing {{DocumentStore.unwrap()}} which would provide the underlying documentstore should it be wrapped, or this ?

> Avoid instanceof check in DocumentNodeStore
> -------------------------------------------
>
>                 Key: OAK-3390
>                 URL: https://issues.apache.org/jira/browse/OAK-3390
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.3.4
>            Reporter: Marcel Reutegger
>             Fix For: 1.3.7
>
>
> The instanceof MongoDocumentStore check does not work anymore when the store is wrapped with e.g. the LeaseCheckDocumentStoreWrapper.



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