Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
There are a few places where we check for nullity prior to checking type with instanceof.
These null checks are redundant as per the Java language specification https://docs.oracle.com/javase/specs/jls/se11/html/jls-15.html#jls-15.20.2