lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r911585 - /lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
Date Thu, 18 Feb 2010 21:07:50 GMT
Author: gsingers
Date: Thu Feb 18 21:07:49 2010
New Revision: 911585

URL: http://svn.apache.org/viewvc?rev=911585&view=rev
Log:
SOLR-1779: handle all spaces between a comma properly

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java?rev=911585&r1=911584&r2=911585&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
Thu Feb 18 21:07:49 2010
@@ -189,7 +189,7 @@
         out[i] = Double.parseDouble(externalVal.substring(start, end));
         start = idx + 1;
         end = externalVal.indexOf(',', start);
-	idex = end;
+	idx = end;
         if (end == -1) {
           end = externalVal.length();
         }



Mime
View raw message