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

Remove string comparison to identify request priority

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.0
    • regionserver
    • None

    Description

      We have a couple of if (methodName.equalsIgnoreCase("scan"))

      { ScanRequest req = (ScanRequest)parm; }

      we can replace that string comparison with an instanceof

      Attachments

        1. HBASE-13917-v0.patch
          7 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              mbertozzi Matteo Bertozzi
              mbertozzi Matteo Bertozzi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: