From 4f11496d996f085fc6d0d7728928b18bc6e7a147 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Tue, 13 Mar 2012 18:07:27 +0000 Subject: [PATCH] LUCENE-3795: update the solr spatial4j.jar file git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1300263 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/eclipse/dot.classpath | 2 +- .../org/apache/lucene/spatial/vector/TwoDoublesStrategy.java | 2 +- solr/lib/spatial4j-0.1.jar | 2 -- solr/lib/spatial4j-0.2.jar | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 solr/lib/spatial4j-0.1.jar create mode 100644 solr/lib/spatial4j-0.2.jar diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpath index 809ab6c5952..32c485b18b2 100644 --- a/dev-tools/eclipse/dot.classpath +++ b/dev-tools/eclipse/dot.classpath @@ -56,7 +56,7 @@ - + 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.java index 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 { // For starters, just limit the bbox Shape 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.jar deleted file mode 100644 index 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 file diff --git a/solr/lib/spatial4j-0.2.jar b/solr/lib/spatial4j-0.2.jar new file mode 100644 index 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