Skip to content

Commit

Permalink
make CONFIG_PARAMS aa final field
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Jul 9, 2021
1 parent f91024f commit edb09d7
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -163,7 +163,7 @@ public class SimpleLogger extends LegacyAbstractLogger {
protected static final int LOG_LEVEL_OFF = LOG_LEVEL_ERROR + 10;

private static boolean INITIALIZED = false;
static SimpleLoggerConfiguration CONFIG_PARAMS = null;
static final SimpleLoggerConfiguration CONFIG_PARAMS = new SimpleLoggerConfiguration();

static void lazyInit() {
if (INITIALIZED) {
Expand All @@ -176,7 +176,6 @@ static void lazyInit() {
// external software might be invoking this method directly. Do not rename
// or change its semantics.
static void init() {
CONFIG_PARAMS = new SimpleLoggerConfiguration();
CONFIG_PARAMS.init();
}

Expand Down

0 comments on commit edb09d7

Please sign in to comment.