[ https://issues.apache.org/jira/browse/HBASE-26035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373511#comment-17373511 ]
Hudson commented on HBASE-26035: -------------------------------- Results for branch master [build #336 on builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/336/]: (/) *{color:green}+1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/336/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/336/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/336/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > Redundant null check in the compareTo function > ----------------------------------------------- > > Key: HBASE-26035 > URL: https://issues.apache.org/jira/browse/HBASE-26035 > Project: HBase > Issue Type: Bug > Components: metrics, Performance > Reporter: Almog Tavor > Assignee: Almog Tavor > Priority: Minor > Fix For: 3.0.0-alpha-1, 2.5.0, 2.3.6, 2.4.5 > > > Remove a redundant null check in the compareTo function > {code:java} > if (!(source instanceof MetricsRegionSourceImpl)) { > return -1; > } > MetricsRegionSourceImpl impl = (MetricsRegionSourceImpl) source; > if (impl == null) { > return -1; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)