axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3540) Redundant check in XMPPSender
Date Mon, 03 Mar 2008 15:24:54 GMT

    [ 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


Mime
View raw message