jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-96) PathUtils should use assertions to enable validation instead of system property
Date Fri, 25 May 2012 09:33:23 GMT

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

Michael Dürig resolved OAK-96.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3

Fixed at revision 1342342
                
> PathUtils should use assertions to enable validation instead of system property
> -------------------------------------------------------------------------------
>
>                 Key: OAK-96
>                 URL: https://issues.apache.org/jira/browse/OAK-96
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: commons
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.3
>
>
> Currently PathUtils does potentially expensive validity checks on the arguments passed
to its methods. The checks can be disabled by setting a system property.
> We should rather use Java's assertion mechanism to control these checks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message