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

Incorrect null check in the AdminHelper.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: