Refactoring

This commit is contained in:
M66B
2020-07-02 10:19:01 +02:00
parent f3f80b46c0
commit 0d56d9f79d
12 changed files with 27 additions and 22 deletions

View File

@@ -1093,8 +1093,8 @@ public class Log {
sb.append(String.format("Memory class: %d\r\n", am.getMemoryClass()));
sb.append(String.format("Storage space: %s/%s\r\n",
Helper.humanReadableByteCount(Helper.getAvailableStorageSpace(), true),
Helper.humanReadableByteCount(Helper.getTotalStorageSpace(), true)));
Helper.humanReadableByteCount(Helper.getAvailableStorageSpace()),
Helper.humanReadableByteCount(Helper.getTotalStorageSpace())));
Runtime rt = Runtime.getRuntime();
long hused = (rt.totalMemory() - rt.freeMemory()) / 1024L;