You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/03/14 18:36:04 UTC

[11/24] struts git commit: Marks deprecated constructor

Marks deprecated constructor


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

Branch: refs/heads/master
Commit: 1ab616b10b2c43052bd8806e6e08fc0772de8b8a
Parents: 442a52f
Author: Lukasz Lenart <lu...@apache.org>
Authored: Thu Mar 9 09:44:07 2017 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Thu Mar 9 09:44:07 2017 +0100

----------------------------------------------------------------------
 .../opensymphony/xwork2/validator/GenericValidatorContext.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/1ab616b1/core/src/test/java/com/opensymphony/xwork2/validator/GenericValidatorContext.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/com/opensymphony/xwork2/validator/GenericValidatorContext.java b/core/src/test/java/com/opensymphony/xwork2/validator/GenericValidatorContext.java
index 6273259..0c7e067 100644
--- a/core/src/test/java/com/opensymphony/xwork2/validator/GenericValidatorContext.java
+++ b/core/src/test/java/com/opensymphony/xwork2/validator/GenericValidatorContext.java
@@ -31,11 +31,14 @@ public class GenericValidatorContext extends DelegatingValidatorContext {
     private Map<String, List<String>> fieldErrors;
 
 
+    /**
+     * @deprecated Is used only in tests and will be removed
+     */
+    @Deprecated
     public GenericValidatorContext(Object object) {
         super(object);
     }
 
-
     @Override
     public synchronized void setActionErrors(Collection<String> errorMessages) {
         this.actionErrors = errorMessages;