Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 421A217B29 for ; Sat, 4 Apr 2015 04:54:55 +0000 (UTC) Received: (qmail 72614 invoked by uid 500); 4 Apr 2015 04:54:55 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 72571 invoked by uid 500); 4 Apr 2015 04:54:55 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 72560 invoked by uid 99); 4 Apr 2015 04:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2015 04:54:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Apr 2015 04:54:54 +0000 Received: (qmail 70964 invoked by uid 99); 4 Apr 2015 04:54:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2015 04:54:33 +0000 Date: Sat, 4 Apr 2015 04:54:33 +0000 (UTC) From: "Sibao Hong (JIRA)" To: dev@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-1826) Remove the code never be executed in function getNumPages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Sibao Hong created FLINK-1826: --------------------------------- Summary: Remove the code never be executed in function getNumPages Key: FLINK-1826 URL: https://issues.apache.org/jira/browse/FLINK-1826 Project: Flink Issue Type: Improvement Components: Local Runtime Affects Versions: master Reporter: Sibao Hong Assignee: Sibao Hong Priority: Minor Fix For: master Remove the code never be executed in function getNumPages, because the input of numBytes has be validataion by its caller of DefaultMemoryManager(long memorySize, int numberOfSlots, int pageSize). -- This message was sent by Atlassian JIRA (v6.3.4#6332)