mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-20 13:51:24 +00:00
fix: reduce complexity
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user