Scripts: arrays: ".multiValued" returns true even when ".values" fails, closes #1145.

This commit is contained in:
Shay Banon 2011-08-09 18:50:03 +03:00
parent 54880c576b
commit 56b11c5ff3
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class MultiValueGeoPointFieldData extends GeoPointFieldData {
GeoPoint[][] value = new GeoPoint[VALUE_CACHE_SIZE][];
for (int i = 0; i < value.length; i++) {
value[i] = new GeoPoint[i];
for (int j = 0; j < value.length; j++) {
for (int j = 0; j < value[i].length; j++) {
value[i][j] = new GeoPoint();
}
}