I expect you mean "Looks like the IF part of the code evaluates to
false", right?
Which it does. When you compare two objects with the == operator, it only evaluates to
true if the two objects are the same object. It's possible for two different strings to contain the same sequence of characters, even they are different objects. If you want to
test for that condition -- and you do --
you should use the equals() method to do that.