From 2b1e60bea7cb4261cbd99eff1dac421cc03faab0 Mon Sep 17 00:00:00 2001 From: damithc Date: Thu, 8 Aug 2024 19:18:40 +0800 Subject: [PATCH] =?UTF-8?q?Add=20'if=20any'=20to=20log=20message=20on=20?= =?UTF-8?q?=E2=80=98unsupported=20JavaFX=20config=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The app shows a log message advising users to ignore the warning message about the 'Unsupported JavaFX configuration' at the start. However, this warning message might not appear under some circumstances. In such cases, the advisory message can lead to confusion. Let's add '(if any)' to the advisory log message, to reduce the risk of such confusion. --- src/main/java/seedu/address/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/Main.java b/src/main/java/seedu/address/Main.java index ec1b7958746..9461d6da769 100644 --- a/src/main/java/seedu/address/Main.java +++ b/src/main/java/seedu/address/Main.java @@ -35,7 +35,7 @@ public static void main(String[] args) { // the user (if looking at the log output) that the said warning appearing in the log // can be ignored. - logger.warning("The warning about Unsupported JavaFX configuration below can be ignored."); + logger.warning("The warning about Unsupported JavaFX configuration below (if any) can be ignored."); Application.launch(MainApp.class, args); } }