OpenSearch/x-pack/plugin/monitoring
Martijn van Groningen 809a5f13a4
Make -try xlint warning disabled by default. (#40833)
Many gradle projects specifically use the -try exclude flag, because
there are many cases where auto-closeable resource ignore is never
referenced in body of corresponding try statement. Suppressing this
warning specifically in each case that it happens using
`@SuppressWarnings("try")` would be very verbose.

This change removes `-try` from any gradle project and adds it to the
build plugin. Also this change removes exclude flags from gradle projects
that is already specified in build plugin (for example -deprecation).

Relates to #40366
2019-04-05 08:02:26 +02:00
..
src Add usage indicators for the bundled JDK (#40616) 2019-03-29 08:25:32 -04:00
build.gradle Make -try xlint warning disabled by default. (#40833) 2019-04-05 08:02:26 +02:00