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 a4c60690266a33ab1a9ce11f2bc017d61b85e048 Author: Matt Sicker <[email protected]> AuthorDate: Sun May 22 12:55:26 2022 -0500 Add method target to Namespace annotation Signed-off-by: Matt Sicker <[email protected]> --- .../src/main/java/org/apache/logging/log4j/plugins/Namespace.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/Namespace.java b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/Namespace.java index a9b4725d20..011488d701 100644 --- a/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/Namespace.java +++ b/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/Namespace.java @@ -30,11 +30,11 @@ import java.lang.annotation.Target; * This can be annotated on another annotation to create an alias annotation for a common namespace. */ @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE, ElementType.TYPE_USE, ElementType.ANNOTATION_TYPE }) +@Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE, ElementType.TYPE_USE, ElementType.ANNOTATION_TYPE, ElementType.METHOD }) @Documented public @interface Namespace { /** - * The category name. + * The namespace name. */ String value(); }
