[
https://issues.apache.org/jira/browse/CXF-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570098#comment-13570098
]
Freeman Fang commented on CXF-4803:
-----------------------------------
Do you mean something like
{code}
(trustDecider != null) ? trustDecider.getLogicalName() :
decider2.getLogicalName()
{code}
I don't think we really need it, the operator "!=" is higher priority so you
get a true or false from it firstly. Do I miss something?
> NPE is thrown while enabling fine log level in TrustDecisionUtil if
> MessageTrustDecider from message context is used
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-4803
> URL: https://issues.apache.org/jira/browse/CXF-4803
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.6.5
> Reporter: Ivan
> Assignee: Freeman Fang
> Fix For: 2.8.0, 2.7.4, 2.6.7, 2.5.10
>
> Attachments: CXF-4803.patch
>
>
> If we uses the MessageTrustDecider from the message context and fine log
> level is enabled, the NPE will thrown while handling
> UntrsustedURLConnectionIOException.
--
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