jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1077982 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java
Date Fri, 04 Mar 2011 14:54:25 GMT
Author: jukka
Date: Fri Mar  4 14:54:25 2011
New Revision: 1077982

URL: http://svn.apache.org/viewvc?rev=1077982&view=rev
Log:
JCR-2898: [patch] remove bogus test

Patch by Dave Brosius

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java?rev=1077982&r1=1077981&r2=1077982&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/flat/BTreeManager.java
Fri Mar  4 14:54:25 2011
@@ -121,9 +121,6 @@ public class BTreeManager implements Tre
         if (minChildren <= 0) {
             throw new IllegalArgumentException("minChildren must be positive");
         }
-        if (maxChildren > Integer.MAX_VALUE) {
-            throw new IllegalArgumentException("maxChildren must not exceed " + Integer.MAX_VALUE);
-        }
         if (2 * minChildren > maxChildren) {
             throw new IllegalArgumentException("maxChildren must be at least twice minChildren");
         }



Mime
View raw message