SonarSource is pleased to announce the release of the Java plugin version 4.2.1.
This version brings significant improvements to the handling of method references, eliminating eight different types of false positives. It also adds three new rules:
- Standard functional interfaces should not be redefined (Code Smell, java8)
- Unnecessary semicolons should be omitted (Code Smell, convention)
- Java 8′s “Files.exists” should not be used (Bug, java8, performance)
Here’s an example of this Java 8-specific, performance bug in the orvit-root project on SonarQube.com.
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.