Jurriaan Mous created HBASE-15794:
-------------------------------------
Summary: Fix Findbugs instanceof always true issue in
MultiServerCallable
Key: HBASE-15794
URL: https://issues.apache.org/jira/browse/HBASE-15794
Project: HBase
Issue Type: Improvement
Reporter: Jurriaan Mous
Assignee: Jurriaan Mous
Priority: Minor
Findbugs keeps reporting this issue on Client:
Code Warning
BC instanceof will always return true for all nonnull values in
org.apache.hadoop.hbase.client.MultiServerCallable.isCellBlock(), since all
org.apache.hadoop.hbase.client.ClusterConnection are instances of
org.apache.hadoop.hbase.client.ClusterConnection
Bug type BC_VACUOUS_INSTANCEOF (click for details)
In class org.apache.hadoop.hbase.client.MultiServerCallable
In method org.apache.hadoop.hbase.client.MultiServerCallable.isCellBlock()
Actual type org.apache.hadoop.hbase.client.ClusterConnection
Expected org.apache.hadoop.hbase.client.ClusterConnection
At MultiServerCallable.java:[line 141]
https://builds.apache.org/job/PreCommit-HBASE-Build/1812/artifact/patchprocess/branch-findbugs-hbase-client-warnings.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)