- Operating system: Windows 10 Pro (64 bits)
- SonarLint plugin version: 7.2.0.56810
- Programming language you’re coding in: Java
- Is connected mode used: No
- Connected to SonarCloud or SonarQube (and which version): N/A
There is a typo in one of the examples in the Compliant Solution section for the java:S2629 rule.
if (LOG.isDebugEnabled() {
LOG.debug("Unable to open file " + csvPath, e); // this is compliant, because it will not evaluate if log level is above debug.
}
The closing parenthesis is missing, the example should be:
if (LOG.isDebugEnabled()) {
LOG.debug("Unable to open file " + csvPath, e); // this is compliant, because it will not evaluate if log level is above debug.
}
Regards.