This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch WW-5000-constants
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/WW-5000-constants by this push:
new 18f9602 WW-5000 Puts back STRUTS_LOG_MISSING_PROPERTIES and marks it
deprecated
18f9602 is described below
commit 18f9602b42ed1e74a8d520dbb911dfd2476347f2
Author: Lukasz Lenart <[email protected]>
AuthorDate: Wed Jan 6 17:43:59 2021 +0100
WW-5000 Puts back STRUTS_LOG_MISSING_PROPERTIES and marks it deprecated
---
core/src/main/java/org/apache/struts2/StrutsConstants.java | 12 +++++++++++-
1 file changed, 11 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 bac1288..d1cf8fc 100644
--- a/core/src/main/java/org/apache/struts2/StrutsConstants.java
+++ b/core/src/main/java/org/apache/struts2/StrutsConstants.java
@@ -249,9 +249,19 @@ public final class StrutsConstants {
/** Throw RuntimeException when a property is not found, or the evaluation
of the expression fails */
public static final String STRUTS_EL_THROW_EXCEPTION =
"struts.el.throwExceptionOnFailure";
- /** Logs properties that are not found (very verbose) */
+ /**
+ * Logs properties that are not found (very verbose)
+ * @since 2.6
+ */
public static final String STRUTS_OGNL_LOG_MISSING_PROPERTIES =
"struts.ognl.logMissingProperties";
+ /**
+ * Logs properties that are not found (very verbose)
+ * @deprecated as of 2.6. Use {@link #STRUTS_OGNL_LOG_MISSING_PROPERTIES}
instead.
+ */
+ @Deprecated
+ public static final String STRUTS_LOG_MISSING_PROPERTIES =
STRUTS_OGNL_LOG_MISSING_PROPERTIES;
+
/** Enables caching of parsed OGNL expressions */
public static final String STRUTS_ENABLE_OGNL_EXPRESSION_CACHE =
"struts.ognl.enableExpressionCache";