Re: How to mark SonarLint issues as False Positive or Won't Fix

2019-03-01 Thread Christofer Dutz
But in general, you should be able to log-in to SonarQube and mark something as "won't fix" or "false-positive" ... Chris Am 01.03.19, 09:32 schrieb "江天" : Hello, I have seen some sonar issues that are not really issues. Leaving them as they are makes it harder to find the

Re: How to mark SonarLint issues as False Positive or Won't Fix

2019-03-01 Thread Julian Feinauer
Hi Tian, I would prefer to use the annotation: @java.lang.SuppressWarnings("squid:S00112") And add a comment in code. This is more robust then doing it in the ui (when code is resubmitted or something, sometimes the warnings reoccur). Julian Am 01.03.19, 09:32 schrieb "江天" : Hello,