You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Gergely Pollak (Jira)" <ji...@apache.org> on 2021/01/17 00:38:00 UTC

[jira] [Commented] (YARN-10574) Fix the FindBugs warning introduced in YARN-10506

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

Gergely Pollak commented on YARN-10574:
---------------------------------------

I've just removed the null check, because the previous line will throw an exception if the variable is null, and it bothered findbugs. 

> Fix the FindBugs warning introduced in YARN-10506
> -------------------------------------------------
>
>                 Key: YARN-10574
>                 URL: https://issues.apache.org/jira/browse/YARN-10574
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Gergely Pollak
>            Assignee: Gergely Pollak
>            Priority: Major
>         Attachments: YARN-10574.001.patch
>
>
> Findbugs started to give warnings about an unnecessary null check, it's better to get rid of it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org