Hello!
SonarQube 8.9
SonarLint 5.3.0.36775
Code snippet:
dimensions.stream()
.map(dim → listDimensions.add(dim.getId()))
.collect(Collectors.toList());
Issue:
If we have our sonarlint connected to our sonarqube then it will not detect any issue but if its not connected it will complain that its against rule java:S2201. This would be all fine if it was not for the fact that this particular rule is enabled in sonarqube and sonarqube does not find it. I also checked and its not in resolved (wont fix, fixed, false positive) either.
Anyone got any idea on what could be wrong here and possible solution?