[ https://issues.apache.org/jira/browse/OAK-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743049#comment-14743049 ]
Stefan Egli commented on OAK-3390: ---------------------------------- my take on doing a generic {{Adaptable}} is that that makes sense in a Silng Resource context since Resource is going to be very frequently used and will have many different adapter classes - while as with {{DocumentNodeStore}} we're inside an implementation and the number of adapter classes will be very few and are mostly known beforehand. > 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)