mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 18:31:40 +00:00
fix: null checking
This commit is contained in:
parent
7ea159cb10
commit
a17de1de8d
1 changed files with 4 additions and 1 deletions
|
|
@ -66,6 +66,9 @@ public class ReplayGainUtil {
|
|||
}
|
||||
}
|
||||
|
||||
if (gains.size() == 0) gains.add(0, new ReplayGain());
|
||||
if (gains.size() == 1) gains.add(1, new ReplayGain());
|
||||
|
||||
return gains;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue