Github user justinleet commented on the issue: https://github.com/apache/incubator-metron/pull/389 @dlyle65535 Any preference on making any of the warnings into compile-time errors? Specifically: SynchronizeOnNonFinalField, BoxedPrimitiveConstructor, ClassCanBeStatic, and ClassNewInstance Notably, BoxedPrimitiveConstructor and ClassNewInstance both address issues with using code that'll be deprecated in Java 9 anyway. They can be done with a pretty simple POM edit, e.g. <compilerArgs> <arg>-Xlint:unchecked</arg> <arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg> <arg>-Xep:BoxedPrimitiveConstructor:ERROR</arg> <...> </compilerArgs>
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---