You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/12/19 23:43:42 UTC

[GitHub] xiaoyao1991 commented on a change in pull request #3129: ByteAmount String Format

xiaoyao1991 commented on a change in pull request #3129: ByteAmount String Format
URL: https://github.com/apache/incubator-heron/pull/3129#discussion_r243115011
 
 

 ##########
 File path: heron/common/src/java/org/apache/heron/common/basics/ByteAmount.java
 ##########
 @@ -23,12 +23,15 @@
  * Class that encapsulates number of bytes, with helpers to handle units properly.
  */
 public final class ByteAmount implements Comparable<ByteAmount> {
+  private static final long KB = 1024L;
   private static final long MB = 1024L * 1024;
 
 Review comment:
   👍 addressed

----------------------------------------------------------------
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