[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to