hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12309) Incorrect null check in the AdminHelper.java
Date Wed, 14 Nov 2018 10:53:01 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Elek, Marton updated HDFS-12309:
--------------------------------
    Resolution: Implemented
        Status: Resolved  (was: Patch Available)

> Incorrect null check in the AdminHelper.java
> --------------------------------------------
>
>                 Key: HDFS-12309
>                 URL: https://issues.apache.org/jira/browse/HDFS-12309
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Oleg Danilov
>            Priority: Trivial
>         Attachments: HDFS-12309.patch
>
>
> '!= null' is not required there:
> line 147-150:
> {code:java}
>     public HelpCommand(Command[] commands) {
>       Preconditions.checkNotNull(commands != null);
>       this.commands = commands;
>     }
> {code}



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

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


Mime
View raw message