hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-12309) Incorrect null check in the AdminHelper.java
Date Fri, 26 Jul 2019 13:03:00 GMT

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

Akira Ajisaka resolved HDFS-12309.
----------------------------------
    Resolution: Duplicate

Changed the resolution to duplicate.

> 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.14#76016)

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