Skip to content

Commit f68c241

Browse files
authored
Fix a typo in usage of Export flags (#171)
WktExportFlags.wktExportPolygon is used instead of WkbExportFlags.wkbExportPolygon. They have same value, so there is no bug yet, but it's better to fix that.
1 parent 2407d0b commit f68c241

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ else if (wkbBuffer.capacity() < size)
170170
if (!bExportZs && !bExportMs) {
171171
type = WkbGeometryType.wkbPolygon;
172172

173-
if ((exportFlags & WktExportFlags.wktExportPolygon) == 0) {
173+
if ((exportFlags & WkbExportFlags.wkbExportPolygon) == 0) {
174174
wkbBuffer.put(offset, byteOrder);
175175
offset += 1;
176176
wkbBuffer.putInt(offset, WkbGeometryType.wkbMultiPolygon);

0 commit comments

Comments
 (0)