LUCENE-7951: add back Geo3dShape.toString

This commit is contained in:
David Smiley 2017-10-09 22:24:06 -04:00
parent 2f6039f1be
commit 0673c57ecf
1 changed files with 5 additions and 0 deletions

View File

@ -158,6 +158,11 @@ public class Geo3dShape<T extends GeoAreaShape> implements Shape {
return spatialcontext;
}
@Override
public String toString() {
return "Geo3D:" + shape.toString();
} // note: the shape usually prints its planet model
@Override
public boolean equals(Object o) {
if (!(o instanceof Geo3dShape<?>))