Double Sonar rules for java

Hi team,

while checking new rules we noticed that there are some rules which now exist twice and we are not able to identify the reason for having them twice.

Examples:
javabugs:S6646 seems to be identical to java:S2589
javabugs:S6651 seems to be identical to java:S2583

There might be more.
Are this really both the same rules or is there a difference that I just did not understand so far? And if they are same: Why do you introduce identical rules?

Regards, Wiebke

Is it possible to get some feedback from one of the Community Managers regarding this question?

Hi,

This has been flagged for the folks who can actually answer the question. (That’s not us. :sweat_smile:) Hopefully they’ll be along soon.

 
Ann

Hi Wiebke,

Yes they are the same. Note that the javabugs rules are not activated by default, if you’d like to use them you can deactivate the corresponding java rule. We will eventually have a single rule to detect the issue, this isn’t finalised so I cannot say how, when or what that will look like or which rule is preferred. It is a work in progress.

Jean