we are ignoring a issue with the @SuppressWarnings(“squid:S2095”)-Tag in our code.
The reason why we do this is, that the session at this line is closing the JMS and we do not have to close it explicit again.
The SQUID of this error is S2095.
In the analyse, SonarQube is ignoring our @SuppressWarnings-Tag and shows this line as a bug.
Hello @ganncamp and @Alexandre_Gigleux,
could it be that the bug re-occured?
I’m using
SonarQube 8.2 Enterprise
Java Code Quality and Security 6.3
Findbugs 4.0.0
In my code I try to suppress issues for the rule “findsecbugs:PATH_TRAVERSAL_IN” on method level.
But I get an issue in the method for this rule.