You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/01/02 18:22:58 UTC
[GitHub] mikewalch commented on a change in pull request #352: ACCUMULO-4771 Implement DataTables in Monitor
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