struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [11/13] struts git commit: Reduces scope
Date Wed, 19 Apr 2017 07:42:25 GMT
Reduces scope


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

Branch: refs/heads/master
Commit: 034e0981847aefc67d8be8530eb08e1041e8d7fe
Parents: b1f9068
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Fri Apr 14 12:45:56 2017 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Fri Apr 14 12:45:56 2017 +0200

----------------------------------------------------------------------
 .../xwork2/validator/validators/FieldValidatorSupport.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/034e0981/core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
b/core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
index 07938c9..07f6412 100644
--- a/core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
+++ b/core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
@@ -23,7 +23,7 @@ import com.opensymphony.xwork2.validator.FieldValidator;
  * You can access fieldName and its currentValue in a message using expression, e.g.
  * "Wrong value ${currentValue} for ${fieldName}"
  */
-public abstract class FieldValidatorSupport extends ValidatorSupport implements FieldValidator
{
+abstract class FieldValidatorSupport extends ValidatorSupport implements FieldValidator {
 
     protected String fieldName;
     protected String type;
@@ -51,7 +51,7 @@ public abstract class FieldValidatorSupport extends ValidatorSupport implements
         return currentValue;
     }
 
-    public void setCurrentValue(Object currentValue) {
+    void setCurrentValue(Object currentValue) {
         this.currentValue = currentValue;
     }
 }


Mime
View raw message