That doesn't give you an warning? Findbugs reported that as an error when I ran it, so I changed it to equals and then the warning went away.