SonarQube Docker ignores @SuppressWarnings

used version: SonarQube Docker 8.1 Community beta

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.

i guess this is a bug in the beta edition?

Hi,

What version of the Java analyzer are you using? If you upgraded to 6.0, you’re running into a bug related to the rewrite of the analyzer.

 
Ann

1 Like

v6.0.1 is available for download on the Marketplace: https://docs.sonarqube.org/latest/analysis/languages/java/

1 Like