Automated code cleanup using AndroidStudio.

This commit is contained in:
Dennis Guse
2020-04-02 08:21:04 +02:00
parent 16c654141f
commit 2ef74eb908
25 changed files with 43 additions and 57 deletions
@@ -81,7 +81,7 @@ public class AnnouncementUtils {
} else {
//TODO This seems weird; why not use Math.round(d) or Math.ceil()?
int count = (int) d;
return count < 3 ? 3 : count;
return Math.max(count, 3);
}
}
}