mirror of https://github.com/apache/lucene.git
LUCENE-7951: add back Geo3dShape.toString
This commit is contained in:
parent
2f6039f1be
commit
0673c57ecf
|
@ -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<?>))
|
||||
|
|
Loading…
Reference in New Issue