Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Integrate forbiddenAPIs checks into ElasticSearch #3059
https://code.google.com/p/forbidden-apis/ integrates with maven and checks Java byte code against a list of "forbidden" API signatures. It fails the builds if deprecated JDK methods are used or if Streams are created with default charsets, if default locales or timezones are used or if encodings are missing on String formatting etc.
This helps to prevent issues that occur on the users systems if locals are different or charsets are oddly set.