| diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/util/BaseGeoPointTestCase.java b/lucene/spatial/src/test/org/apache/lucene/spatial/util/BaseGeoPointTestCase.java |
| index 2b5f885..18fe386 100644 |
| --- a/lucene/spatial/src/test/org/apache/lucene/spatial/util/BaseGeoPointTestCase.java |
| +++ b/lucene/spatial/src/test/org/apache/lucene/spatial/util/BaseGeoPointTestCase.java |
| @@ -535,8 +535,6 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase { |
| int iters = atLeast(25); |
| for (int iter=0;iter<iters;iter++) { |
| GeoRect rect = randomRect(small); |
| - // TODO: why does this test need this quantization leniency? something is not right |
| - rect = new GeoRect(quantizeLat(rect.minLat), quantizeLat(rect.maxLat), quantizeLon(rect.minLon), quantizeLon(rect.maxLon)); |
| |
| if (VERBOSE) { |
| System.out.println("\nTEST: iter=" + iter + " rect=" + rect); |
| @@ -821,8 +819,6 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase { |
| } |
| |
| GeoRect rect = randomRect(small); |
| - // TODO: why does this test need this quantization leniency? something is not right |
| - rect = new GeoRect(quantizeLat(rect.minLat), quantizeLat(rect.maxLat), quantizeLon(rect.minLon), quantizeLon(rect.maxLon)); |
| |
| Query query = newRectQuery(FIELD_NAME, rect.minLat, rect.maxLat, rect.minLon, rect.maxLon); |
| |
| @@ -872,6 +868,7 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase { |
| } else { |
| b.append("FAIL: id=" + id + " should not match but did\n"); |
| } |
| + b.append(" box=" + rect + "\n"); |
| b.append(" query=" + query + " docID=" + docID + "\n"); |
| b.append(" lat=" + lats[id] + " lon=" + lons[id] + "\n"); |
| b.append(" deleted?=" + (liveDocs != null && liveDocs.get(docID) == false)); |