Reports
String.equals()
or
String.equalsIgnoreCase()
calls with a
String
literal argument. Some coding standards specify that
String
literals should be the qualifier of
equals()
, rather than argument, thus minimizing
NullPointerException
s.