mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Fixed a lot of possible issues raised by a code inspection
This commit is contained in:
parent
0299f909fb
commit
d169e3b188
7 changed files with 13 additions and 24 deletions
|
|
@ -32,8 +32,8 @@ public class MusicUtil {
|
|||
}
|
||||
|
||||
public static String getReadableDurationString(long duration, boolean millis) {
|
||||
long minutes = 0;
|
||||
long seconds = 0;
|
||||
long minutes;
|
||||
long seconds;
|
||||
|
||||
if (millis) {
|
||||
minutes = (duration / 1000) / 60;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue