Looks for faulty checks for null in boolean conditions, e.g. if (name != null || name.length > 0) { } if (name != null || name.size() > 0) { } if (string == null && string.equals("")) { }
| Type | Name and description |
|---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |