fix toString of bytes value
This commit is contained in:
parent
63523f4525
commit
b970f0dcc2
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue