Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20121

Fix findbugs warning for RestoreTablesClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1
    • None
    • Reviewed

    Description

      In RestoreTablesClient#restore(), the following variable is not used:

          Set<String> backupIdSet = new HashSet<>();
      

      There is backupIdSet#add() call later in the method but the variable doesn't appear in any other part of the code.

      Attachments

        1. 20121.v1.txt
          1 kB
          Ted Yu
        2. 20121.v2.txt
          1 kB
          Ted Yu
        3. 20121.v3.txt
          2 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: