mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-10 11:25:04 -05:00
No need to initialize for 64 years of local index
This commit is contained in:
parent
25d92211eb
commit
fb31146c17
@ -136,7 +136,7 @@ public final class WebServices {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// local TheMovieDB search index
|
// 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 {
|
private LocalSearch<Movie> computeLocalIndex(int year) throws Exception {
|
||||||
if (year > 0) {
|
if (year > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user