Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12309

Incorrect null check in the AdminHelper.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      '!= null' is not required there:

      line 147-150:

          public HelpCommand(Command[] commands) {
            Preconditions.checkNotNull(commands != null);
            this.commands = commands;
          }
      

        Attachments

        1. HDFS-12309.patch
          1 kB
          Oleg Danilov

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                olegd Oleg Danilov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: