Menu

#1 uses == instead of equals() for String

open
nobody
None
5
2006-04-22
2006-04-22
Anonymous
No

Int jabber.roster.Roster, there is
public Roster(String _name, Jid _jid) {
if ((_name==null) || (name=="")) {
name = "unnamed";
} else {

but name=="" should be name.equals("")

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.