Scripts: arrays: ".multiValued" returns true even when ".values" fails, closes #1145.
This commit is contained in:
parent
54880c576b
commit
56b11c5ff3
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue