Where in the posted code does the OP use == to compare Strings?