[
https://issues.apache.org/jira/browse/RAMPART-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Attanayake updated RAMPART-331:
--------------------------------------
Attachment: RAMPART-331.patch
Attaching a simple patch.
> 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
> Attachments: deadcode.png, RAMPART-331.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
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]