Skip to content

Commit bc19de5

Browse files
committed
typo
1 parent 81e7884 commit bc19de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/mediathekview/mserver/base/utils/FilmDBService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ public <T> List<T> filterNewVideos(Sender sender, List<T> videos, Function<T, St
226226
// CARP films pro Nacht. Die filme werden dann am nächsten tag gefunden. TODO: für die nächste runde.
227227
if(result.size() > 100_000) {
228228
LOG.debug("CARP - reduced number of films to 100000 in one job");
229+
result = new ArrayList<>(result.subList(0, 100000));
229230
}
230-
result = new ArrayList<>(result.subList(0, 100_000));
231231
return result;
232232
} catch (Exception e) {
233233
LOG.error("{}", e);

0 commit comments

Comments
 (0)