hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Danilov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12309) Incorrect null check in the AdminHelper.java
Date Wed, 16 Aug 2017 21:08:00 GMT

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

Oleg Danilov updated HDFS-12309:
--------------------------------
    Attachment: HDFS-12309.patch

> 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
(v6.4.14#64029)

---------------------------------------------------------------------
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