removed unnecessary null check before "instanceof" check.

Reports a null check followed by an instanceof check. Since the instanceof operator always returns false for null, there is no need to have an additional null check.