From 2db64030a8c0c067ad9121b1df8321c40cf0977d Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Mon, 6 May 2019 10:38:58 +0200 Subject: [PATCH] fix checkstyle --- .../org/jabref/gui/preview/PreviewViewer.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/jabref/gui/preview/PreviewViewer.java b/src/main/java/org/jabref/gui/preview/PreviewViewer.java index 9fdfad3e23f..7b7fa4fa0d8 100644 --- a/src/main/java/org/jabref/gui/preview/PreviewViewer.java +++ b/src/main/java/org/jabref/gui/preview/PreviewViewer.java @@ -36,26 +36,27 @@ public class PreviewViewer extends ScrollPane implements InvalidationListener { private static final Logger LOGGER = LoggerFactory.getLogger(PreviewViewer.class); + private static final String JS_HIGHLIGHT_FUNCTION = " "; + private final ClipBoardManager clipBoardManager; private final DialogService dialogService; private final TaskExecutor taskExecutor = Globals.TASK_EXECUTOR; private final WebView previewView; private PreviewLayout layout; + /** * The entry currently shown */ private Optional entry = Optional.empty(); private BibDatabaseContext database; - private static String JS_HIGHLIGHT_FUNCTION = " "; - /** * @param database Used for resolving strings and pdf directories for links. */