You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/03 16:24:54 UTC
[jira] Commented: (AXIS2-3540) Redundant check in XMPPSender
[ https://issues.apache.org/jira/browse/AXIS2-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574554#action_12574554 ]
Davanum Srinivas commented on AXIS2-3540:
-----------------------------------------
Fixed in svn revision 633125
> 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
> Attachments: AXIS2-3540.patch
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org