hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jurriaan Mous (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15794) Fix Findbugs instanceof always true issue in MultiServerCallable
Date Sat, 07 May 2016 12:42:12 GMT

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

Jurriaan Mous updated HBASE-15794:
----------------------------------
    Status: Patch Available  (was: Open)

> 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
>         Attachments: HBASE-15794.patch
>
>
> 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)

Mime
View raw message