Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9AA6C200CDC for ; Sat, 22 Jul 2017 08:32:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 992E416D68D; Sat, 22 Jul 2017 06:32:27 +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 1184E16D68B for ; Sat, 22 Jul 2017 08:32:26 +0200 (CEST) Received: (qmail 1516 invoked by uid 500); 22 Jul 2017 06:32:26 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 1506 invoked by uid 99); 22 Jul 2017 06:32:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jul 2017 06:32:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D8B7BDFC34; Sat, 22 Jul 2017 06:32:24 +0000 (UTC) From: jackylk To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1191: [CARBONDATA-1326] Fixed high priority findbug... Content-Type: text/plain Message-Id: <20170722063224.D8B7BDFC34@git1-us-west.apache.org> Date: Sat, 22 Jul 2017 06:32:24 +0000 (UTC) archived-at: Sat, 22 Jul 2017 06:32:27 -0000 Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1191#discussion_r128890954 --- Diff: core/src/main/java/org/apache/carbondata/core/mutate/DeleteDeltaBlockletDetails.java --- @@ -69,9 +69,11 @@ public Integer getPageId() { if (obj == null || !(obj instanceof DeleteDeltaBlockletDetails)) { return false; } - DeleteDeltaBlockletDetails that = (DeleteDeltaBlockletDetails) obj; - return id.equals(that.id) && pageId == that.pageId; + if (null == pageId || null == that.pageId) { + return false; + } + return id.equals(that.id) && pageId.intValue() == that.pageId.intValue(); --- End diff -- change to `return id.equals(that.id) && (pageId.intValue() == that.pageId.intValue());` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---