WW-4578 Fixes small typo
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/569e1f6c Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/569e1f6c Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/569e1f6c Branch: refs/heads/master Commit: 569e1f6c82dbb562f105279df68e3dd2cf0545bd Parents: 6f272e4 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Fri Apr 14 11:18:39 2017 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Fri Apr 14 11:18:39 2017 +0200 ---------------------------------------------------------------------- .../opensymphony/xwork2/validator/validators/URLValidator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/569e1f6c/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java b/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java index d579e34..6dd29f7 100644 --- a/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java +++ b/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java @@ -73,7 +73,7 @@ public class URLValidator extends FieldValidatorSupport { // if a value is required, a required validator should be added to the field String stringValue = Objects.toString(value, "").trim(); if (stringValue.length() == 0) { - LOG.debug("Value for field {} is empty, won't ba validated, please use required validator", fieldName); + LOG.debug("Value for field {} is empty, won't ba validated, please use a required validator", fieldName); return; } @@ -98,7 +98,7 @@ public class URLValidator extends FieldValidatorSupport { protected void validateValue(Object object, Object value) { String stringValue = Objects.toString(value, "").trim(); if (stringValue.length() == 0) { - LOG.debug("Value for field {} is empty, won't ba validated, please use required validator", fieldName); + LOG.debug("Value for field {} is empty, won't ba validated, please use a required validator", fieldName); return; }