View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

Not using equals

To compare objects use
if (obj1.equals(obj2))


instead of
if (obj1 == obj2)


Link to this Page