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

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

commit efee62c5597925ee9d031936f7a1fc010cde8260
Author: Matt Sicker <[email protected]>
AuthorDate: Sat Apr 1 14:51:53 2023 -0500

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

diff --git 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/model/PluginRegistry.java
 
b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/model/PluginRegistry.java
index 1850437a54..3d3136d287 100644
--- 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/model/PluginRegistry.java
+++ 
b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/model/PluginRegistry.java
@@ -23,7 +23,6 @@ import java.text.DecimalFormat;
 import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
-import java.util.List;
 import java.util.Locale;
 import java.util.Map;
 import java.util.ServiceLoader;
@@ -92,17 +91,11 @@ public class PluginRegistry {
      */
     private final Map<Long, Namespaces> namespacesByBundleId = new 
ConcurrentHashMap<>();
 
-    /**
-     * Contains plugins found by searching for annotated classes at runtime.
-     */
-    private final Map<String, Namespaces> namespacesByPackage = new 
ConcurrentHashMap<>();
-
     /**
      * Resets the registry to an empty state.
      */
     public void clear() {
         mainPluginNamespaces.set(null);
-        namespacesByPackage.clear();
         namespacesByBundleId.clear();
     }
 

Reply via email to