mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
fix: null checking
This commit is contained in:
@@ -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;
|
return gains;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user