You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/12/18 16:31:00 UTC

[jira] [Commented] (KNOX-1684) Avoid NPE for deployments in GatewayServer

    [ https://issues.apache.org/jira/browse/KNOX-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724219#comment-16724219 ] 

Kevin Risden commented on KNOX-1684:
------------------------------------

Doesn't look like this case could come up but might as well move the logic into the if statement.

> Avoid NPE for deployments in GatewayServer
> ------------------------------------------
>
>                 Key: KNOX-1684
>                 URL: https://issues.apache.org/jira/browse/KNOX-1684
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> GatewayServer checks if deployments is null but then there is some work done outside the if statement.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)