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 E7C1C180630 for ; Tue, 2 Jan 2018 19:22:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D7C35160C26; Tue, 2 Jan 2018 18:22:57 +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 2418C160C09 for ; Tue, 2 Jan 2018 19:22:56 +0100 (CET) Received: (qmail 90280 invoked by uid 500); 2 Jan 2018 18:22:56 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 90269 invoked by uid 99); 2 Jan 2018 18:22:56 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2018 18:22:56 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] mikewalch commented on a change in pull request #352: ACCUMULO-4771 Implement DataTables in Monitor Message-ID: <151491737575.27356.15464056636445748030.gitbox@gitbox.apache.org> archived-at: Tue, 02 Jan 2018 18:22:58 -0000 mikewalch commented on a change in pull request #352: ACCUMULO-4771 Implement DataTables in Monitor URL: https://github.com/apache/accumulo/pull/352#discussion_r159278570 ########## File path: server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tables/TableInformation.java ########## @@ -145,4 +176,13 @@ public TableInformation(String tableName, Table.ID tableId, TableInfo info, Doub this.tableState = tableState; } + + private double cleanNumber(double dirtyNumber) { + double clean; Review comment: Could be simplified to: ```java return dirtyNumber < 1 ? 0 : dirtyNumber; ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services