From issues-return-333009-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Thu Feb 8 13:12:03 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id D282018064F for ; Thu, 8 Feb 2018 13:12:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C2A7B160C4A; Thu, 8 Feb 2018 12:12:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 157D9160C3D for ; Thu, 8 Feb 2018 13:12:02 +0100 (CET) Received: (qmail 93825 invoked by uid 500); 8 Feb 2018 12:12:02 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 93814 invoked by uid 99); 8 Feb 2018 12:12:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2018 12:12:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id ABBE01A05B0 for ; Thu, 8 Feb 2018 12:12:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2q415on8ikbr for ; Thu, 8 Feb 2018 12:12:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C0C3B5F17B for ; Thu, 8 Feb 2018 12:12:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 511C6E00E0 for ; Thu, 8 Feb 2018 12:12:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1095A21E80 for ; Thu, 8 Feb 2018 12:12:00 +0000 (UTC) Date: Thu, 8 Feb 2018 12:12:00 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-19835) Make explicit casting of atleast one operand to final type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-19835?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 56862#comment-16356862 ]=20 Ted Yu commented on HBASE-19835: -------------------------------- Aman: Can you put this in Patch Available state ? > 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 > Attachments: HBASE-19835.master.01.patch, HBASE-19835.master.02.p= atch > > > We have used=C2=A0 > _long =3D int + int_=C2=A0 > at many places mostly wherever ClassSize.java variables are used for calc= ulation. > Need to cast explicitly at-least one operand to final type(i.e. type the = result is intended to be casted). > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)