hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13917) Remove string comparison to identify request priority
Date Thu, 18 Jun 2015 16:43:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matteo Bertozzi updated HBASE-13917:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

committed to branch-1, 1.2 and master.
[~apurtell] let's wait a couple of weeks before backporting it on all the other branches.
I may have other changes around this stuff. 

> Remove string comparison to identify request priority
> -----------------------------------------------------
>
>                 Key: HBASE-13917
>                 URL: https://issues.apache.org/jira/browse/HBASE-13917
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 2.0.0, 1.2.0
>
>         Attachments: HBASE-13917-v0.patch
>
>
> We have a couple of if (methodName.equalsIgnoreCase("scan")) { ScanRequest req = (ScanRequest)parm;
} we can replace that string comparison with an instanceof



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message