Using `Collections.emptyList()
`
This commit is contained in:
parent
0f9ed020a4
commit
ecf4232ce3
1 changed files with 2 additions and 2 deletions
|
@ -1050,12 +1050,12 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
}
|
||||
|
||||
if (storyboardsRenderer == null) {
|
||||
return new ArrayList<>();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
final String storyboardsRendererSpec = storyboardsRenderer.getString("spec");
|
||||
if (storyboardsRendererSpec == null) {
|
||||
return new ArrayList<>();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
final String[] spec = storyboardsRendererSpec.split("\\|");
|
||||
|
|
Loading…
Reference in a new issue