Adds proper deprecation explanation

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

Branch: refs/heads/master
Commit: 5452f5664876981dcb537d1dc18db8b2b5781757
Parents: c815f5c
Author: Lukasz Lenart <lukaszlen...@apache.org>
Authored: Wed Mar 15 18:58:42 2017 +0100
Committer: Lukasz Lenart <lukaszlen...@apache.org>
Committed: Wed Mar 15 18:58:42 2017 +0100

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/StrutsConstants.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/5452f566/core/src/main/java/org/apache/struts2/StrutsConstants.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/StrutsConstants.java 
b/core/src/main/java/org/apache/struts2/StrutsConstants.java
index 1160d88..a868edd 100644
--- a/core/src/main/java/org/apache/struts2/StrutsConstants.java
+++ b/core/src/main/java/org/apache/struts2/StrutsConstants.java
@@ -200,7 +200,10 @@ public final class StrutsConstants {
     /** XWork default text provider */
     public static final String STRUTS_XWORKTEXTPROVIDER = 
"struts.xworkTextProvider";
 
-    /** The {@link com.opensymphony.xwork2.LocaleProvider} implementation 
class */
+    /**
+     * The {@link com.opensymphony.xwork2.LocaleProvider} implementation class
+     * @deprecated use {@link StrutsConstants#STRUTS_LOCALE_PROVIDER_FACTORY} 
instead
+     */
     @Deprecated
     public static final String STRUTS_LOCALE_PROVIDER = 
"struts.localeProvider";
 

Reply via email to