OpenSearch/buildSrc
David Turner ab8f5ea54c
Forbid trappy methods from java.time (#28476)
ava.time has the functionality needed to deal with timezones with varying 
offsets correctly, but it also has a bunch of methods that silently let you
forget about the hard cases, which raises the risk that we'll quietly do the
wrong thing at some point in the future.

This change adds the trappy methods to the list of forbidden methods to try and
help stop this from happening.

It also fixes the only use of these methods in the codebase so far:
IngestDocument#deepCopy() used ZonedDateTime.of() which may alter the offset of
the given time in cases where the offset is ambiguous.
2018-02-02 18:24:02 +00:00
..
src Forbid trappy methods from java.time (#28476) 2018-02-02 18:24:02 +00:00
.gitignore Build: Add fake project to include buildSrc as normal project 2016-05-06 22:26:15 -07:00
build.gradle upgraded jna from 4.4.0-1 to 4.5.1 (#28183) 2018-01-11 17:31:10 +01:00
version.properties upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00