You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ry...@apache.org on 2012/03/13 19:07:28 UTC
svn commit: r1300263 - in /lucene/dev/branches/lucene3795_lsp_spatial_module:
dev-tools/eclipse/dot.classpath
modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java
solr/lib/spatial4j-0.1.jar solr/lib/spatial4j-0.2.jar
Author: ryan
Date: Tue Mar 13 18:07:27 2012
New Revision: 1300263
URL: http://svn.apache.org/viewvc?rev=1300263&view=rev
Log:
LUCENE-3795: update the solr spatial4j.jar file
Added:
lucene/dev/branches/lucene3795_lsp_spatial_module/solr/lib/spatial4j-0.2.jar (with props)
Removed:
lucene/dev/branches/lucene3795_lsp_spatial_module/solr/lib/spatial4j-0.1.jar
Modified:
lucene/dev/branches/lucene3795_lsp_spatial_module/dev-tools/eclipse/dot.classpath
lucene/dev/branches/lucene3795_lsp_spatial_module/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java
Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/dev-tools/eclipse/dot.classpath
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/dev-tools/eclipse/dot.classpath?rev=1300263&r1=1300262&r2=1300263&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/dev-tools/eclipse/dot.classpath (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/dev-tools/eclipse/dot.classpath Tue Mar 13 18:07:27 2012
@@ -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"/>
Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java?rev=1300263&r1=1300262&r2=1300263&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/modules/spatial/src/java/org/apache/lucene/spatial/vector/TwoDoublesStrategy.java Tue Mar 13 18:07:27 2012
@@ -114,7 +114,7 @@ public class TwoDoublesStrategy extends
// 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()) {
Added: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/lib/spatial4j-0.2.jar
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/lib/spatial4j-0.2.jar?rev=1300263&view=auto
==============================================================================
Binary file - no diff available.