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