Skip to content

Commit a943547

Browse files
committed
fixed npe caused by buffer of polyline
1 parent e758fc6 commit a943547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/esri/core/geometry/Bufferer.java

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ private Geometry bufferPoint_() {
805805

806806
private Geometry bufferPoint_(Point point) {
807807
assert (m_distance > 0);
808-
Polygon resultPolygon = new Polygon(m_geometry.getDescription());
808+
Polygon resultPolygon = new Polygon(point.getDescription());
809809
addCircle_((MultiPathImpl) resultPolygon._getImpl(), point);
810810
return setStrongSimple_(resultPolygon);
811811
}

0 commit comments

Comments
 (0)