From 7af1f13a927da96580f65fa8a841e44e111768d2 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Thu, 22 Feb 2018 21:58:54 +0100 Subject: [PATCH] Fix NPE occuring with a not initalized watcher in DefaultFileUpdateMonitor --- .../fileannotationtab/FileAnnotationTabController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTabController.java b/src/main/java/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTabController.java index d9be0257f1d..40f8dc874b7 100644 --- a/src/main/java/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTabController.java +++ b/src/main/java/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTabController.java @@ -23,11 +23,11 @@ import javafx.scene.text.TextAlignment; import org.jabref.gui.AbstractController; -import org.jabref.gui.util.DefaultFileUpdateMonitor; import org.jabref.gui.util.ViewModelListCellFactory; import org.jabref.logic.l10n.Localization; import org.jabref.logic.pdf.FileAnnotationCache; import org.jabref.model.entry.BibEntry; +import org.jabref.model.util.FileUpdateMonitor; import org.fxmisc.easybind.EasyBind; @@ -55,7 +55,7 @@ public class FileAnnotationTabController extends AbstractController