1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

No need to initialize for 64 years of local index

This commit is contained in:
Reinhard Pointner 2019-02-05 12:42:55 +07:00
parent 25d92211eb
commit fb31146c17

View File

@ -136,7 +136,7 @@ public final class WebServices {
}
// local TheMovieDB search index
private final Map<Integer, Resource<LocalSearch<Movie>>> localIndexPerYear = synchronizedMap(new HashMap<>(64));
private final Map<Integer, Resource<LocalSearch<Movie>>> localIndexPerYear = synchronizedMap(new HashMap<>());
private LocalSearch<Movie> computeLocalIndex(int year) throws Exception {
if (year > 0) {