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 ea8e12a2faab99f9a746cc693398b247cca9e7f7
Author: Matt Sicker <[email protected]>
AuthorDate: Sun Oct 15 18:40:33 2023 -0500

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

diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
index bf1b84cf24..f67a995f39 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
@@ -20,9 +20,6 @@ import java.util.List;
 
 import org.apache.logging.log4j.core.config.ConfigurationListener;
 import org.apache.logging.log4j.core.config.Reconfigurable;
-import org.apache.logging.log4j.plugins.Namespace;
-import org.apache.logging.log4j.plugins.di.Key;
-import org.apache.logging.log4j.plugins.model.PluginNamespace;
 
 /**
  * Watches for changes in a Source and performs an action when it is modified.
@@ -32,7 +29,6 @@ import org.apache.logging.log4j.plugins.model.PluginNamespace;
 public interface Watcher {
 
     String CATEGORY = "Watcher";
-    Key<PluginNamespace> PLUGIN_CATEGORY_KEY = new @Namespace(CATEGORY) 
Key<>() {};
     String ELEMENT_TYPE = "watcher";
 
     /**

Reply via email to