false
when null
is passed (e.g. Class.isInstance
).
Such a check seems excessive as the method call will always return false
in this case.
Example:
if (x != null && myClass.isInstance(x)) { ... }
After the quick-fix is applied:
if (myClass.isInstance(x)) { ... }