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

Remove string comparison to identify request priority

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0, 2.0.0
    • Component/s: regionserver
    • Labels:
      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

            • Assignee:
              mbertozzi Matteo Bertozzi
              Reporter:
              mbertozzi Matteo Bertozzi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment