Skip to content

Commit

Permalink
Using Collections.emptyList()
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Jul 6, 2021
1 parent 14a3b32 commit e36b66f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1050,12 +1050,12 @@ public List<Frameset> getFrames() throws ExtractionException {
}

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("\\|");
Expand Down

0 comments on commit e36b66f

Please sign in to comment.