dcapwell commented on a change in pull request #1324:
URL: https://github.com/apache/cassandra/pull/1324#discussion_r751445597
##########
File path:
src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsHolder.java
##########
@@ -368,6 +374,14 @@ private String format(long bytes, boolean humanReadable)
return humanReadable ? FileUtils.stringifyFileSize(bytes) :
Long.toString(bytes);
}
+ private Map<String, String> format(Map<String, Long> map, boolean
humanReadable)
Review comment:
`org.apache.cassandra.tools.nodetool.stats.TableStatsHolder#format(long,
boolean)` shares the same name and does the same thing, for this reason I
rather leave it as `format` here as it extends the `long` type to handle a map
with `long` values
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]