[java] Java null check why use == instead of .equals()