Enable detekt rules UnderscoresInNumericLiterals and fix existing issues.

This commit is contained in:
Benoit Marty 2023-07-26 11:47:50 +02:00 committed by Benoit Marty
parent 0e219200b0
commit b3cf0d2cf1
5 changed files with 10 additions and 6 deletions

View file

@ -62,9 +62,9 @@ class VectorUncaughtExceptionHandler(
totalSize = info.totalMemory()
usedSize = totalSize - freeSize
}
append("usedSize " + usedSize / 1048576L + " MB\n")
append("freeSize " + freeSize / 1048576L + " MB\n")
append("totalSize " + totalSize / 1048576L + " MB\n")
append("usedSize " + usedSize / 1_048_576L + " MB\n")
append("freeSize " + freeSize / 1_048_576L + " MB\n")
append("totalSize " + totalSize / 1_048_576L + " MB\n")
append("Thread: ")
append(thread.name)
append(", Exception: ")