Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

finish removing nocommit

Yonik Seeley27e2737ab290
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/CompositeIdRouter.java b/solr/solrj/src/java/org/apache/solr/common/cloud/CompositeIdRouter.java
index 4bcee36174d..77f42acc031 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/CompositeIdRouter.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/CompositeIdRouter.java
@@ -129,10 +129,6 @@ public class CompositeIdRouter extends HashBasedRouter {
upperBound = Integer.MAX_VALUE;
}
- if (lowerBound > upperBound) {
- throw new RuntimeException("WHAAAT?");
- }
- // lowerBound will be greater than upperBound if we are in the negatives
Range completeRange = new Range(lowerBound, upperBound);
List<Slice> targetSlices = new ArrayList<Slice>(1);