Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-4, 2.0.0
    • Component/s: None
    • Labels:

      Description

      I thought this was something that we would already catch in findbugs, but maybe not?

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project hbase-client: Compilation failure
      [ERROR] /Users/mdrob/IdeaProjects/hbase/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java:[2476,5] [MissingCasesInEnumSwitch] Non-exhaustive switch; either add a default or handle the remaining cases: GLOBAL_BYPASS
      [ERROR]     (see http://errorprone.info/bugpattern/MissingCasesInEnumSwitch)
      

      cc: Josh Elser, this looks like it is part of quota code. I'm happy to add a trivial patch to error on the missing case, but want somebody with more contextual knowledge to look at it.

        Attachments

        1. HBASE-18981.patch
          1 kB
          Mike Drob

          Activity

            People

            • Assignee:
              mdrob Mike Drob
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: