5d0689581b
The `translated` flag makes LineStringBuilder stateful and gets set to true under certain conditions when building a Shape or Geometry from the ShapeBuilder. This makes building operations not be idempotent, so calling build() more than once on a LineStringBuilder might change the builder itself. This PR fixes this by replacing the instance variable by a local `translated` flag that is only updated internally during the building process and created again on any subsequent calls to build() or buildGeometry(). |
||
---|---|---|
.. | ||
main | ||
test |