struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/2] struts git commit: WW-4792 Marks XWork constants as deprecated
Date Wed, 26 Apr 2017 18:29:44 GMT
WW-4792 Marks XWork constants as deprecated


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/bbd4a9e8
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/bbd4a9e8
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/bbd4a9e8

Branch: refs/heads/master
Commit: bbd4a9e8c567265c0eb376c0f8a3445f4d9a5fdf
Parents: b46a6e7
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Wed Apr 26 20:29:33 2017 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Wed Apr 26 20:29:33 2017 +0200

----------------------------------------------------------------------
 .../com/opensymphony/xwork2/XWorkConstants.java | 23 +++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/bbd4a9e8/core/src/main/java/com/opensymphony/xwork2/XWorkConstants.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/XWorkConstants.java b/core/src/main/java/com/opensymphony/xwork2/XWorkConstants.java
index bc532d0..2499ab9 100644
--- a/core/src/main/java/com/opensymphony/xwork2/XWorkConstants.java
+++ b/core/src/main/java/com/opensymphony/xwork2/XWorkConstants.java
@@ -3,29 +3,46 @@ package com.opensymphony.xwork2;
 /**
  * Constants used across framework
  */
+@Deprecated
 public final class XWorkConstants {
 
+    @Deprecated
     public static final String COLLECTION_CONVERTER = "collectionConverter";
+    @Deprecated
     public static final String DATE_CONVERTER = "dateConverter";
+    @Deprecated
     public static final String NUMBER_CONVERTER = "numberConverter";
+    @Deprecated
     public static final String STRING_CONVERTER = "stringConverter";
+    @Deprecated
     public static final String ARRAY_CONVERTER = "arrayConverter";
+    @Deprecated
     public static final String DEV_MODE = "devMode";
+    @Deprecated
     public static final String LOG_MISSING_PROPERTIES = "logMissingProperties";
+    @Deprecated
     public static final String ENABLE_OGNL_EXPRESSION_CACHE = "enableOGNLExpressionCache";
+    @Deprecated
     public static final String ENABLE_OGNL_EVAL_EXPRESSION = "enableOGNLEvalExpression";
+    @Deprecated
     public static final String RELOAD_XML_CONFIGURATION = "reloadXmlConfiguration";
+    @Deprecated
     public static final String ALLOW_STATIC_METHOD_ACCESS = "allowStaticMethodAccess";
+    @Deprecated
     public static final String XWORK_LOGGER_FACTORY = "xwork.loggerFactory";
-
+    @Deprecated
     public static final String OGNL_EXCLUDED_CLASSES = "ognlExcludedClasses";
+    @Deprecated
     public static final String OGNL_EXCLUDED_PACKAGE_NAME_PATTERNS = "ognlExcludedPackageNamePatterns";
+    @Deprecated
     public static final String OGNL_EXCLUDED_PACKAGE_NAMES = "ognlExcludedPackageNames";
-
+    @Deprecated
     public static final String ADDITIONAL_EXCLUDED_PATTERNS = "additionalExcludedPatterns";
+    @Deprecated
     public static final String ADDITIONAL_ACCEPTED_PATTERNS = "additionalAcceptedPatterns";
-
+    @Deprecated
     public static final String OVERRIDE_EXCLUDED_PATTERNS = "overrideExcludedPatterns";
+    @Deprecated
     public static final String OVERRIDE_ACCEPTED_PATTERNS = "overrideAcceptedPatterns";
 
 }


Mime
View raw message