You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Oleg Danilov (JIRA)" <ji...@apache.org> on 2017/08/16 13:53:00 UTC

[jira] [Created] (HDFS-12309) Incorrect null check in the AdminHelper.java

Oleg Danilov created HDFS-12309:
-----------------------------------

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


'!= 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org