The rule, that wants me to add parentheses to expressions should provide a quick fix (for eclipse). It should be pretty simple to implement as the rule already precisely identifies the expression. And it would help a lot fixing many of these findings in a row.
And please respect the formatter here.
It would help a lot if you mention which language(s), and which Rule ID specifically.
Yes, sorry. Couldn’t find the rule online. And I wasn’t sitting before my working PC.
It is Java rule S864.
Thanks. It’s unlikely we’ll add a quickfix as this rule isn’t included in the default Sonar Way Quality profile, but in any case, I’ve moved your post to the “Product Manager for a Day” category.