Replaces String == comparison with .equals()