Remove useless instanceof check.
equals(Object o) should always return false if parameter is null.
Don't write into a static member.