SonarSource is pleased to announce the release of the Java plugin version 3.14.
This new version embeds the following 4 new rules along with numerous improvements and bug fixes, especially relating to the analysis of Java 8 source code:
- “toArray” should be passed an array of the proper type (Bug)
- Classes that don’t define “hashCode()” should not be used in hashes (Bug)
- Getters and setters should be synchronized in pairs (Bug, cert, multi-threading)
- Return values should not be ignored when they contain the operation status code (Vulnerability, cert, cwe, error-handling, misra)
Please read the release notes for more information. You can install or update it via the Update Center.
Documentation is available on the product page.