This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git


The following commit(s) were added to refs/heads/master by this push:
     new a7269f6  Standardize on American English spelling of 'behavior'.
a7269f6 is described below

commit a7269f610f7ac091dac1dd67f43386e5b45fa01e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 30 15:46:33 2020 -0400

    Standardize on American English spelling of 'behavior'.
---
 RELEASE-NOTES.txt                                                     | 2 +-
 src/changes/changes.xml                                               | 2 +-
 .../java/org/apache/commons/validator/routines/CurrencyValidator.java | 4 ++--
 .../java/org/apache/commons/validator/routines/PercentValidator.java  | 2 +-
 .../org/apache/commons/validator/routines/checkdigit/CheckDigit.java  | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 4a5c5c2..267620b 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -41,7 +41,7 @@ Fixed Bugs:
 o VALIDATOR-420:  Query params validator shouldn't accept whitespaces Thanks 
to Marcin Gasior.
 o VALIDATOR-419:  Invalid IPv6 addresses that are IPv4-mapped pass 
InetAddressValidator validation Thanks to Denis Iskhakov.
 o VALIDATOR-418:  UrlValidatorTest: testIsValid() does not run all tests 
Thanks to Robert McGuigan.
-o VALIDATOR-379:  CodeValidator unconditionally trim()s the input string - 
document the behaviour
+o VALIDATOR-379:  CodeValidator unconditionally trim()s the input string - 
document the behavior
 o VALIDATOR-387:  Userinfo without colon should be valid in UrlValidator 
Thanks to Shumpei Akai.
 o VALIDATOR-411:  UrlValidator accepts ports above max limit of 16-bit 
unsigned integer
 o VALIDATOR-407:  Generic .shop top level domain is considered invalid
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 260a93b..35ed0ed 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -175,7 +175,7 @@ http://commons.apache.org/validator/dependencies.html
     Generic CreditCard validation
     </action>
     <action issue="VALIDATOR-379" type="fix" dev="sebb">
-    CodeValidator unconditionally trim()s the input string - document the 
behaviour
+    CodeValidator unconditionally trim()s the input string - document the 
behavior
     </action>
     <action issue="VALIDATOR-387" type="fix" dev="sebb" due-to="Shumpei Akai">
     Userinfo without colon should be valid in UrlValidator
diff --git 
a/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java 
b/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java
index fbb3050..3dce07b 100644
--- a/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java
@@ -37,7 +37,7 @@ import java.text.Format;
  *
  * <p>Pick the appropriate validator, depending on the type (e.g Float, 
Double, Integer, Long etc)
  *    you want the currency converted to. One thing to note - only the 
CurrencyValidator
- *    implements <i>lenient</i> behaviour regarding the currency symbol.</p>
+ *    implements <i>lenient</i> behavior regarding the currency symbol.</p>
  *
  * @version $Revision$
  * @since Validator 1.3.0
@@ -83,7 +83,7 @@ public class CurrencyValidator extends BigDecimalValidator {
      *
      * <p>This implementation is lenient whether the currency symbol
      *    is present or not. The default <code>NumberFormat</code>
-     *    behaviour is for the parsing to "fail" if the currency
+     *    behavior is for the parsing to "fail" if the currency
      *    symbol is missing. This method re-parses with a format
      *    without the currency symbol if it fails initially.</p>
      *
diff --git 
a/src/main/java/org/apache/commons/validator/routines/PercentValidator.java 
b/src/main/java/org/apache/commons/validator/routines/PercentValidator.java
index c7c1680..05dd1de 100644
--- a/src/main/java/org/apache/commons/validator/routines/PercentValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/PercentValidator.java
@@ -86,7 +86,7 @@ public class PercentValidator extends BigDecimalValidator {
      *
      * <p>This implementation is lenient whether the currency symbol
      *    is present or not. The default <code>NumberFormat</code>
-     *    behaviour is for the parsing to "fail" if the currency
+     *    behavior is for the parsing to "fail" if the currency
      *    symbol is missing. This method re-parses with a format
      *    without the currency symbol if it fails initially.</p>
      *
diff --git 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
index 2b0e640..bea38cd 100644
--- 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
+++ 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
@@ -28,7 +28,7 @@ package org.apache.commons.validator.routines.checkdigit;
  * </p>
  * <p>
  * Although Commons Validator is primarily concerned with validation,
- * {@link CheckDigit} also defines behaviour for calculating/generating check
+ * {@link CheckDigit} also defines behavior for calculating/generating check
  * digits, since it makes sense that users will want to (re-)use the
  * same logic for both. The {@link 
org.apache.commons.validator.routines.ISBNValidator}
  * makes specific use of this feature by providing the facility to validate 
ISBN-10 codes

Reply via email to