You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/08/23 00:16:03 UTC

[logging-log4j2] 02/03: Use static inner class

This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 8ed2acad0bade5ede80bed4b9abb4deb7959baac
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sun Aug 16 16:37:06 2020 -0500

    Use static inner class
---
 .../java/org/apache/logging/log4j/core/BasicConfigurationFactory.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/BasicConfigurationFactory.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/BasicConfigurationFactory.java
index d028921..9dec037 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/BasicConfigurationFactory.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/BasicConfigurationFactory.java
@@ -45,7 +45,7 @@ public class BasicConfigurationFactory extends ConfigurationFactory {
         return null;
     }
 
-    public class BasicConfiguration extends AbstractConfiguration {
+    public static class BasicConfiguration extends AbstractConfiguration {
 
         private static final String DEFAULT_LEVEL = "org.apache.logging.log4j.level";