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