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

Clean up checkstyle complaints in hbase-operator-tools

    XMLWordPrintableJSON

    Details

      Description

      easy import fixes:

      [INFO] --- maven-checkstyle-plugin:3.0.0:check (default-cli) @ hbase-hbck2 ---
      [INFO] There are 2 errors reported by Checkstyle 8.11 with hbase/checkstyle.xml ruleset.
      [ERROR] src/main/java/org/apache/hbase/HBCK2.java:[52] (imports) ImportOrder: Wrong order for 'org.apache.logging.log4j.Level' import.
      [ERROR] src/test/java/org/apache/hbase/TestSchedulingRecoveries.java:[30] (imports) ImportOrder: Wrong order for 'org.junit.AfterClass' import.
      [INFO] ------------------------------------------------------------------------
      
      

      little confusing because hbase-operator-tools uses the checkstyle rules from version 2.2.0 of the main repo, but the order is supposed to be "normal stuff, then hbase.thirdparty, then hbase.shaded".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                busbey Sean Busbey
                Reporter:
                busbey Sean Busbey
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: