Redundant check in XMPPSender
-----------------------------
Key: AXIS2-3540
URL: https://issues.apache.org/jira/browse/AXIS2-3540
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.3
Reporter: Michele Mazzucco
Priority: Minor
if (targetAddress != null) {
xmppOutTransportInfo = new
XMPPOutTransportInfo(targetAddress);
xmppOutTransportInfo.setConnectionFactory(connectionFactory);
} else if (targetAddress == null && msgCtx.getTo() != null &&
!msgCtx.getTo().hasAnonymousAddress()) {
//TODO
} else
// do something else
targetAddress can only be null in the else block
BTW there are no statements in the first else. Is that correct?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]