Before you submit issue or pull request, please check the following points.
When you find problems such as false-positives or false-negatives, consider to add a JUnit test case to reproduce. Just three steps to follow:
- Create a minimum and complete .java file under
spotbugsTestCases/src/java
directory. - Create a unit test case under
spotbugs/src/test/java
directory, Refer pull request #69 as example. - Confirm that
./gradlew clean spotbugs:build
is failed by your new unit test case.
Please consider to follow the same points with Before reporting problem in detectors.