OpenSearch/core/src
Christoph Büscher 5d0689581b Geo: Remove `translated` state from LineStringBuilder
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().
2015-12-04 12:57:52 +01:00
..
main Geo: Remove `translated` state from LineStringBuilder 2015-12-04 12:57:52 +01:00
test Java api: allow to specify ttl as a time value (either as a string or using TimeValue) 2015-12-04 11:51:22 +01:00