jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-292) Use Guava preconditions instead of asserts to enforce contract
Date Thu, 06 Sep 2012 19:59:07 GMT

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

Michael Dürig commented on OAK-292:
-----------------------------------

The patch looks good to me. Thanks for finding all this.
                
> 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

Mime
View raw message