codacy - ignored "Avoid unnecessary comparisons in boolean expressions" pattern

34 views
Skip to first unread message

lodici

unread,
Jun 18, 2017, 10:38:20 AM6/18/17
to Magarena
This is flagging cases like isBusy == false - I blow hot and cold on whether this is clearer than !isBusy. Probably better would be isNotBusy but sometimes it is not possible to do that if dealing with a core Java methods using boolean arguments. Either way I don't think it is a high priority so have disabled the pattern - Avoid unnecessary comparisons in boolean expressions -  for now.

Lodici.
Reply all
Reply to author
Forward
0 new messages