You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2018/02/24 01:44:00 UTC
[jira] [Reopened] (HBASE-19835) Make explicit casting of atleast
one operand to final type
[ https://issues.apache.org/jira/browse/HBASE-19835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey reopened HBASE-19835:
---------------------------------
reverted from master because the rebase for v02 reintroduced the concurrency bug fixed by HBASE-19728.
Looks like it also undid some findbugs fixes done in HBASE-19811.
Please only do the change intended in v1 without undoing changes that happened on master between that patch and current.
(revert from branch-2 later tonight when I finish working through tests on it.)
> Make explicit casting of atleast one operand to final type
> ----------------------------------------------------------
>
> Key: HBASE-19835
> URL: https://issues.apache.org/jira/browse/HBASE-19835
> Project: HBase
> Issue Type: Bug
> Components: hbase
> Affects Versions: 3.0.0
> Reporter: Aman Poonia
> Assignee: Aman Poonia
> Priority: Minor
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-19835.master.01.patch, HBASE-19835.master.02.patch
>
>
> We have used
> _long = int + int_
> at many places mostly wherever ClassSize.java variables are used for calculation.
> Need to cast explicitly at-least one operand to final type(i.e. type the result is intended to be casted).
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)