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

Marcel Reutegger updated OAK-292:
---------------------------------

    Attachment: OAK-292.patch

Proposed changes.

I'm a bit undecided what to do with MemoryNodeState constructor.
It might be too expensive to always perform the disjoint check.
                
> Use Guava preconditions instead of asserts to enforce contract
> --------------------------------------------------------------
>
>                 Key: OAK-292
>                 URL: https://issues.apache.org/jira/browse/OAK-292
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: OAK-292.patch
>
>
> Assertions shouldn't be used to enforce a contract. See discussion:
> http://jackrabbit.markmail.org/thread/ji6ojjt6z3ztym2y

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to