Improve various small code quality issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-16 03:53:51 +01:00
parent d315b3f38a
commit 546637c188
11 changed files with 46 additions and 44 deletions

View File

@@ -70,7 +70,9 @@ public class FormatUtil
if(hours == 0)
{
if(minutes == 0)
{} else { // i know this if has an empty body but i feel like this reads better
{
// empty code block because it makes the code easier to read
} else {
uptimeStringBuilder.append(minutes).append("m ");
}
} else {