From 9fbae151314fd7cb7757bc368781944aa856e41f Mon Sep 17 00:00:00 2001 From: Alberto Date: Mon, 20 May 2024 22:35:23 +0200 Subject: [PATCH] Refactoring. --- .../github/albertus82/acodec/gui/config/ApplicationConfig.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/io/github/albertus82/acodec/gui/config/ApplicationConfig.java b/src/main/java/io/github/albertus82/acodec/gui/config/ApplicationConfig.java index 82dd905..5224c56 100644 --- a/src/main/java/io/github/albertus82/acodec/gui/config/ApplicationConfig.java +++ b/src/main/java/io/github/albertus82/acodec/gui/config/ApplicationConfig.java @@ -11,7 +11,6 @@ import io.github.albertus82.jface.preference.IPreferencesConfiguration; import io.github.albertus82.jface.preference.PreferencesConfiguration; import io.github.albertus82.util.InitializationException; -import io.github.albertus82.util.SystemUtils; import io.github.albertus82.util.config.Configuration; import io.github.albertus82.util.config.PropertiesConfiguration; @@ -32,8 +31,6 @@ else if (Util.isMac()) { } } - public static final String APPDATA_DIRECTORY = SystemUtils.getOsSpecificLocalAppDataDir() + File.separator + DIRECTORY_NAME; - private static volatile ApplicationConfig instance; // NOSONAR Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe. Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe. private static volatile IPreferencesConfiguration wrapper; // NOSONAR Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe. Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe. private static int instanceCount = 0;