diff --git a/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/IsbnFetcher.java b/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/IsbnFetcher.java index c449320075d..7df0fb6fab5 100644 --- a/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/IsbnFetcher.java +++ b/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/IsbnFetcher.java @@ -35,12 +35,12 @@ public class IsbnFetcher implements EntryBasedFetcher, IdBasedFetcher { private static final Pattern NEWLINE_SPACE_PATTERN = Pattern.compile("\\n|\\r\\n|\\s"); protected final ImportFormatPreferences importFormatPreferences; private final List retryIsbnFetcher; - private final GvkFetcher gvkIbsnFetcher; + private final GvkFetcher gvkIsbnFetcher; public IsbnFetcher(ImportFormatPreferences importFormatPreferences) { this.importFormatPreferences = importFormatPreferences; OpenLibraryIsbnFetcher openLibraryIsbnFetcher = new OpenLibraryIsbnFetcher(importFormatPreferences); - this.gvkIbsnFetcher = new GvkFetcher(importFormatPreferences); + this.gvkIsbnFetcher = new GvkFetcher(importFormatPreferences); this.retryIsbnFetcher = new ArrayList<>(); this.addRetryFetcher(openLibraryIsbnFetcher); } @@ -63,7 +63,7 @@ public Optional performSearchById(String identifier) throws FetcherExc identifier = removeNewlinesAndSpacesFromIdentifier(identifier); Optional isbn = ISBN.parse(identifier); if (isbn.isPresent()) { - bibEntry = gvkIbsnFetcher.performSearchById(isbn.get().getNormalized()); + bibEntry = gvkIsbnFetcher.performSearchById(isbn.get().getNormalized()); } } catch (FetcherException ex) { LOGGER.debug("Got a fetcher exception for IBSN search", ex);