Apache Lucene open-source search software
LUCENE-3795: update the solr spatial4j.jar file
Ryan McKinley4f11496d996f
diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpathindex 809ab6c5952..32c485b18b2 100644--- a/dev-tools/eclipse/dot.classpath+++ b/dev-tools/eclipse/dot.classpath@@ -56,7 +56,7 @@<classpathentry kind="src" path="modules/spatial/src/java"/><classpathentry kind="src" path="modules/spatial/src/test"/><classpathentry kind="src" path="modules/spatial/src/test-files"/>- <classpathentry kind="lib" path="modules/spatial/lib/spatial4j-0.1.jar"/>+ <classpathentry kind="lib" path="modules/spatial/lib/spatial4j-0.2.jar"/><classpathentry kind="src" path="solr/core/src/java"/><classpathentry kind="src" path="solr/core/src/test"/><classpathentry kind="src" path="solr/core/src/test-files"/>diff --git a/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java b/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.javaindex 151483b2d44..92938c86929 100644--- a/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java+++ b/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java@@ -114,7 +114,7 @@ public class TwoDoublesStrategy extends SpatialStrategy<TwoDoublesFieldInfo> {// For starters, just limit the bboxShape shape = args.getShape();if (!(shape instanceof Rectangle)) {- throw new InvalidShapeException("A rectangle is the only supported at this time, not "+shape.getClass());//TODO+ throw new InvalidShapeException("A rectangle is the only supported shape (so far), not "+shape.getClass());//TODO}Rectangle bbox = (Rectangle) shape;if (bbox.getCrossesDateLine()) {diff --git a/solr/lib/spatial4j-0.1.jar b/solr/lib/spatial4j-0.1.jardeleted file mode 100644index c0466872f60..00000000000--- a/solr/lib/spatial4j-0.1.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[6d3c8ca133496a20135a1d0fdb7f77811794f899] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/solr/lib/spatial4j-0.2.jar b/solr/lib/spatial4j-0.2.jarnew file mode 100644index 00000000000..69f87ce33f4--- /dev/null+++ b/solr/lib/spatial4j-0.2.jar@@ -0,0 +1,2 @@+AnyObjectId[82d4eadc1a5301bb86440e1eac81834fea8cba49] was removed in git history.+Apache SVN contains full history.\ No newline at end of file