James Moger
2011-05-26 2a7306a1d92522569a8bb6e5a7c0bcdd5cf4cfaa
src/com/gitblit/utils/ByteFormat.java
@@ -32,8 +32,6 @@
   public ByteFormat() {
   }
   // Implemented from the Format class
   /**
    * Formats a long which represent a number of bytes.
    */
@@ -73,7 +71,8 @@
            buf.append(formatter.format((double) numBytes / (1024.0 * 1024.0))).append(" MB");
         } else {
            DecimalFormat formatter = new DecimalFormat("#,##0.0");
            buf.append(formatter.format((double) numBytes / (1024.0 * 1024.0 * 1024.0))).append(" GB");
            buf.append(formatter.format((double) numBytes / (1024.0 * 1024.0 * 1024.0)))
                  .append(" GB");
         }
      }
      return buf;