This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push:
new 50842e8d1 WW-5242 Marks constant definition as deprecated
50842e8d1 is described below
commit 50842e8d1935797c222437fb46c12dab1a72fd1c
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sun Oct 16 08:55:27 2022 +0200
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";