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 "David Tonhofer (JIRA)" <ji...@apache.org> on 2011/04/18 16:16:05 UTC
[jira] [Created] (RAMPART-331) Unreachable code in
org.apache.rahas.STSMessageReceiver.invokeBusinessLogic() - "dispatcher" is
never null at end of try
Unreachable code in org.apache.rahas.STSMessageReceiver.invokeBusinessLogic() - "dispatcher" is never null at end of try
------------------------------------------------------------------------------------------------------------------------
Key: RAMPART-331
URL: https://issues.apache.org/jira/browse/RAMPART-331
Project: Rampart
Issue Type: Bug
Components: rampart-trust
Affects Versions: 1.5.1
Environment: Linux / Eclipse
Reporter: David Tonhofer
Priority: Minor
At the end of "org.apache.rahas.STSMessageReceiver.invokeBusinessLogic()":
if(dispatcher != null) {
SOAPEnvelope responseEnv = dispatcher.handle(inMessage, outMessage);
outMessage.setEnvelope(responseEnv);
} else {
throw new TrustException("missingDispatcherConfiguration");
}
This code is run at a point where dispatcher cannot be null; the else branch is dead code.
--
This message is automatically generated by JIRA.
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