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 9bcc92de190ce9e858dba430a5d4d5dc47f2218a
Author: Matt Sicker <[email protected]>
AuthorDate: Thu Feb 3 20:53:38 2022 -0600

    Remove unused variable
    
    Signed-off-by: Matt Sicker <[email protected]>
---
 .../java/org/apache/logging/log4j/plugins/util/PluginRegistry.java     | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/util/PluginRegistry.java
 
b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/util/PluginRegistry.java
index 7019d54..c723cf1 100644
--- 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/util/PluginRegistry.java
+++ 
b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/util/PluginRegistry.java
@@ -42,8 +42,6 @@ import java.util.ServiceLoader;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
 import java.util.concurrent.atomic.AtomicReference;
-import java.util.concurrent.locks.Lock;
-import java.util.concurrent.locks.ReentrantLock;
 
 /**
  * Registry singleton for PluginType maps partitioned by source type and then 
by category names.
@@ -54,7 +52,6 @@ public class PluginRegistry {
 
     private static volatile PluginRegistry INSTANCE;
     private static final Object INSTANCE_LOCK = new Object();
-    protected static final Lock STARTUP_LOCK = new ReentrantLock();
 
     /**
      * Contains plugins found in Log4j2Plugins.dat cache files in the main 
CLASSPATH.

Reply via email to