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:
[email protected]
With regards,
Apache Git Services