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

mattsicker pushed a commit to branch feature/3.x/name-alias-provider
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 0ae9b16a5b7bbcb27e45e2c7cc245a69a0f59585
Author: Matt Sicker <[email protected]>
AuthorDate: Thu Aug 7 14:53:00 2025 -0500

    Remove unused name provider
---
 .../log4j/plugins/name/CategoryNameProvider.java   | 30 ----------------------
 1 file changed, 30 deletions(-)

diff --git 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/name/CategoryNameProvider.java
 
b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/name/CategoryNameProvider.java
deleted file mode 100644
index 8772f7d217..0000000000
--- 
a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/name/CategoryNameProvider.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.logging.log4j.plugins.name;
-
-import static java.util.Optional.ofNullable;
-import static org.apache.logging.log4j.util.Strings.trimToNull;
-
-import java.util.Optional;
-import org.apache.logging.log4j.plugins.Namespace;
-
-public class CategoryNameProvider implements 
AnnotatedElementNameProvider<Namespace> {
-    @Override
-    public Optional<String> getSpecifiedName(final Namespace annotation) {
-        return ofNullable(trimToNull(annotation.value()));
-    }
-}

Reply via email to