From 50842e8d1935797c222437fb46c12dab1a72fd1c Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Sun, 16 Oct 2022 08:55:27 +0200 Subject: [PATCH] WW-5242 Marks constant definition as deprecated --- core/src/main/java/org/apache/struts2/StrutsConstants.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/struts2/StrutsConstants.java b/core/src/main/java/org/apache/struts2/StrutsConstants.java index 710062269..18ccfbc93 100644 --- a/core/src/main/java/org/apache/struts2/StrutsConstants.java +++ b/core/src/main/java/org/apache/struts2/StrutsConstants.java @@ -398,7 +398,11 @@ public final class StrutsConstants { /** Enables action: prefix */ public static final String STRUTS_MAPPER_ACTION_PREFIX_ENABLED = "struts.mapper.action.prefix.enabled"; - /** Enables access to actions in other namespaces than current with action: prefix */ + /** + * Enables access to actions in other namespaces than current with action: prefix + * @deprecated it will be removed soon, please refactor your application + */ + @Deprecated public static final String STRUTS_MAPPER_ACTION_PREFIX_CROSSNAMESPACES = "struts.mapper.action.prefix.crossNamespaces"; public static final String DEFAULT_TEMPLATE_TYPE_CONFIG_KEY = "struts.ui.templateSuffix";