[ https://issues.apache.org/jira/browse/HBASE-13917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611295#comment-14611295 ]
Hudson commented on HBASE-13917: -------------------------------- FAILURE: Integrated in HBase-0.98 #1045 (See [https://builds.apache.org/job/HBase-0.98/1045/]) HBASE-13994 Backport HBASE-13917 (Remove string comparison to identify request priority) to 0.98 (apurtell: rev f04a68f73fc7a7b08091dbac199ace2ed3c7e0a6) * hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RWQueueRpcExecutor.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AnnotationReadingPriorityFunction.java > 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)