From 92a6aad40a98e7fa8f16d4d4d3690956663f983d Mon Sep 17 00:00:00 2001 From: CDaut Date: Fri, 11 Oct 2024 17:01:23 +0200 Subject: [PATCH] spotless --- .../java/edu/kit/kastel/sdq/intelligrade/login/CefUtils.java | 1 - .../edu/kit/kastel/sdq/intelligrade/state/PluginState.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/edu/kit/kastel/sdq/intelligrade/login/CefUtils.java b/src/main/java/edu/kit/kastel/sdq/intelligrade/login/CefUtils.java index 6972b3a..b0fff5c 100644 --- a/src/main/java/edu/kit/kastel/sdq/intelligrade/login/CefUtils.java +++ b/src/main/java/edu/kit/kastel/sdq/intelligrade/login/CefUtils.java @@ -54,7 +54,6 @@ public static void resetCookies() { */ public static CompletableFuture jcefBrowserLogin() { - // offscreen rendering is problematic on Linux JBCefBrowser browser = JBCefBrowser.createBuilder() .setClient(browserClient) diff --git a/src/main/java/edu/kit/kastel/sdq/intelligrade/state/PluginState.java b/src/main/java/edu/kit/kastel/sdq/intelligrade/state/PluginState.java index da37cf6..4d8cc20 100644 --- a/src/main/java/edu/kit/kastel/sdq/intelligrade/state/PluginState.java +++ b/src/main/java/edu/kit/kastel/sdq/intelligrade/state/PluginState.java @@ -71,7 +71,8 @@ public void logout() { boolean answer = true; // check if confirmation is necessary because assessment is running if (isAssessing()) { - answer = MessageDialogBuilder.okCancel("Logging out while assessing!", + answer = MessageDialogBuilder.okCancel( + "Logging out while assessing!", "Logging out while assessing will discard current changes. Continue?") .guessWindowAndAsk(); }