We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4fd949 commit 49f2424Copy full SHA for 49f2424
slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java
@@ -157,7 +157,7 @@ public class SimpleLogger extends MarkerIgnoringBase {
157
protected static final int LOG_LEVEL_OFF = LOG_LEVEL_ERROR + 10;
158
159
private static boolean INITIALIZED = false;
160
- static private SimpleLoggerConfiguration CONFIG_PARAMS = null;
+ static final private SimpleLoggerConfiguration CONFIG_PARAMS = new SimpleLoggerConfiguration();
161
162
static void lazyInit() {
163
if (INITIALIZED) {
@@ -170,7 +170,6 @@ static void lazyInit() {
170
// external software might be invoking this method directly. Do not rename
171
// or change its semantics.
172
static void init() {
173
- CONFIG_PARAMS = new SimpleLoggerConfiguration();
174
CONFIG_PARAMS.init();
175
}
176
0 commit comments