fix: reduce complexity
This commit is contained in:
parent
dba53d23aa
commit
77649d388c
2 changed files with 50 additions and 48 deletions
|
|
@ -212,12 +212,7 @@ public final class ListHelper {
|
|||
continue;
|
||||
}
|
||||
|
||||
final String trackId;
|
||||
if (stream.getAudioTrackId() != null) {
|
||||
trackId = stream.getAudioTrackId();
|
||||
} else {
|
||||
trackId = "";
|
||||
}
|
||||
final String trackId = Objects.toString(stream.getAudioTrackId(), "");
|
||||
|
||||
final AudioStream presentStream = collectedStreams.get(trackId);
|
||||
if (presentStream == null || cmp.compare(stream, presentStream) > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue