powered by Jive Software

Expression is always true

Hi

Please look this code:

src/plugins/fastpath/src/java/org/jivesoftware/xmpp/workgroup/Agent.java
if (agentJID != null && agentJID.equals(agentJID)) {

return;

}

agentJID is compared with itself. This expression is always true. Probably it should be:

if (agentJID != null && this.agentJID.equals(agentJID)) {

return;

}

This possible defect found with static analysis tool AppChecker