相关文章推荐
留胡子的红薯  ·  Virtual Treeview ...·  2 年前    · 
谦虚好学的柚子  ·  编程大讲堂 - 知乎·  2 年前    · 
直爽的围巾  ·  mysql 遍历for循环 mysql ...·  2 年前    · 

Hi there,
we have a valid business requirement to return null out of the method with Boolean return type (Java). In order to ignore a generated issue I used SuppressWarnings(“squid:S2447”). On the server a new issue got created: NP_BOOLEAN_RETURN_NULL. I tried //NOSONAR - a new issue got created: do not use NOSONAR.
So basically I have to use both SuppressWarnings and SuppressFBWarnings? What’s the point of this duplicate rule?
Tomasz