Removing unnecessary null check

Instanceof always return `false` for `null` object. From JLS:

"At run time, the result of the instanceof operator is true if the value of the RelationalExpression is not null and the reference could be cast (§15.16) to the ReferenceType without raising a ClassCastException. Otherwise the result is false."

And Effective Java from Josh Bloch, chapter Object Equality.