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 "Sagara Gunathunga (Assigned) (JIRA)" <ji...@apache.org> on 2011/11/15 00:07:51 UTC

[jira] [Assigned] (AXIS2-5182) org.apache.axis2.transport.http.SimpleHTTPServer seems to cast String to QName

     [ https://issues.apache.org/jira/browse/AXIS2-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  reassigned AXIS2-5182:
-----------------------------------------

    Assignee: Sagara Gunathunga 
    
> org.apache.axis2.transport.http.SimpleHTTPServer seems to cast String to QName
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5182
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5182
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.6.1
>            Reporter: Alexander Veit
>            Assignee: Sagara Gunathunga 
>
> SimpleHTTPServer, line 176
>    if (startAllTransports) {
>     Iterator iter = configctx.getAxisConfiguration().
>       getTransportsIn().keySet().iterator();
>     while (iter.hasNext()) {
>      QName trp = (QName) iter.next(); // String -> QName
>      if (!new QName(Constants.TRANSPORT_HTTP).equals(trp)) {
>       trsIn = (TransportInDescription)
>         configctx.getAxisConfiguration().getTransportsIn().get(trp);
>       listenerManager.addListener(trsIn, false);
>      }
>     }
>    }
> Axis2 should probably enforce the use of generics throughout the project to avoid such problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org