CodeNarc Rule. Checks for using a comparison operator or equals() or compareTo() to compare a variable to itself, e.g.: x == x, x != x, x <=> x, x < x, x > x, x <= x, x >= x, x.equals(x), x.compareTo(x) where x is a variable
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |