SONARJAVA-308 Reduce the amount of false positives