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 tru

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

2019-03-01 Thread 江天
Thanks for your advice. This is indeed a better way. Tian Jiang > 在 2019年3月1日,下午4:48,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 c

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,

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

2019-03-01 Thread 江天
Hello, I have seen some sonar issues that are not really issues. Leaving them as they are makes it harder to find the true positives, so I want to mark them as False Positive or Won't Fix. However, I can’t find the option. Is this because I do not have the privilege? Tian Jiang