mirror of https://github.com/apache/lucene.git
SOLR-1779: handle all spaces between a comma properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@911585 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
74f73a3a71
commit
d5f6ae6095
|
@ -189,7 +189,7 @@ public class DistanceUtils {
|
|||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue