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

Michael Dürig resolved JCR-2724.
--------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

Fixed at revision 988160

> Wrong argument check in BTreeManager constructor
> ------------------------------------------------
>
>                 Key: JCR-2724
>                 URL: https://issues.apache.org/jira/browse/JCR-2724
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.2.0
>
>
> In the constructor of BTreeManager the argument check on maxChildren and 
> minChildren is wrong. Instead of
>         if (2 * minChildren < maxChildren) {
>             throw new IllegalArgumentException("maxChildren must be at least 
> twice minChildren");
>         }
> it should be
>         if (2 * minChildren > maxChildren) {
>             throw new IllegalArgumentException("maxChildren must be at least 
> twice minChildren");
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to