parent
4f442497bf
commit
4533462025
|
@ -233,6 +233,10 @@ public class RestTable {
|
||||||
return Long.toString(v.mb());
|
return Long.toString(v.mb());
|
||||||
} else if ("g".equals(resolution)) {
|
} else if ("g".equals(resolution)) {
|
||||||
return Long.toString(v.gb());
|
return Long.toString(v.gb());
|
||||||
|
} else if ("t".equals(resolution)) {
|
||||||
|
return Long.toString(v.tb());
|
||||||
|
} else if ("p".equals(resolution)) {
|
||||||
|
return Long.toString(v.pb());
|
||||||
} else {
|
} else {
|
||||||
return v.toString();
|
return v.toString();
|
||||||
}
|
}
|
||||||
|
@ -248,6 +252,10 @@ public class RestTable {
|
||||||
return Long.toString(v.mega());
|
return Long.toString(v.mega());
|
||||||
} else if ("g".equals(resolution)) {
|
} else if ("g".equals(resolution)) {
|
||||||
return Long.toString(v.giga());
|
return Long.toString(v.giga());
|
||||||
|
} else if ("t".equals(resolution)) {
|
||||||
|
return Long.toString(v.tera());
|
||||||
|
} else if ("p".equals(resolution)) {
|
||||||
|
return Long.toString(v.peta());
|
||||||
} else {
|
} else {
|
||||||
return v.toString();
|
return v.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue