fix toString of bytes value

This commit is contained in:
kimchy 2010-06-28 17:53:07 +03:00
parent 63523f4525
commit b970f0dcc2
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class ByteSizeValue implements Serializable, Streamable {
@Override public String toString() {
long bytes = bytes();
double value = bytes;
String suffix = "";
String suffix = "b";
if (bytes >= ByteSizeUnit.C3) {
value = gbFrac();
suffix = "gb";