You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/08/23 17:42:18 UTC

[jira] Updated: (JCR-2724) Wrong argument check in BTreeManager constructor

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

Michael Dürig updated JCR-2724:
-------------------------------

    Summary: Wrong argument check in BTreeManager constructor  (was: Wrong argument check in BTreeManager constructur )

> 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
>
> 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.