You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ad...@apache.org on 2014/12/31 17:33:31 UTC
svn commit: r1648729 - in
/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines:
./ checkdigit/
Author: adrianc
Date: Wed Dec 31 16:33:30 2014
New Revision: 1648729
URL: http://svn.apache.org/r1648729
Log:
Validator JavaDocs spelling corrections. No functional change.
Modified:
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ByteValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DateValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/FloatValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/LongValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ShortValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/TimeValidator.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/package.html
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java Wed Dec 31 16:33:30 2014
@@ -41,7 +41,7 @@ import java.util.Locale;
*
* <p>Fraction/decimal values are automatically trimmed to the appropriate length.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java Wed Dec 31 16:33:30 2014
@@ -38,7 +38,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>BigInteger</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ByteValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ByteValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ByteValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ByteValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Byte</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java Wed Dec 31 16:33:30 2014
@@ -52,23 +52,23 @@ import java.util.TimeZone;
* can be used to adjust the <code>TimeZone</code> of the <code>Calendar</code>
* object afterwards.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform various date comparison checks:</p>
* <ul>
* <li><code>compareDates()</code> compares the day, month and
- * year of two calendars, returing 0, -1 or +1 indicating
+ * year of two calendars, returning 0, -1 or +1 indicating
* whether the first date is equal, before or after the second.</li>
* <li><code>compareWeeks()</code> compares the week and
- * year of two calendars, returing 0, -1 or +1 indicating
+ * year of two calendars, returning 0, -1 or +1 indicating
* whether the first week is equal, before or after the second.</li>
* <li><code>compareMonths()</code> compares the month and
- * year of two calendars, returing 0, -1 or +1 indicating
+ * year of two calendars, returning 0, -1 or +1 indicating
* whether the first month is equal, before or after the second.</li>
* <li><code>compareQuarters()</code> compares the quarter and
- * year of two calendars, returing 0, -1 or +1 indicating
+ * year of two calendars, returning 0, -1 or +1 indicating
* whether the first quarter is equal, before or after the second.</li>
* <li><code>compareYears()</code> compares the
- * year of two calendars, returing 0, -1 or +1 indicating
+ * year of two calendars, returning 0, -1 or +1 indicating
* whether the first year is equal, before or after the second.</li>
* </ul>
*
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DateValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DateValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DateValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DateValidator.java Wed Dec 31 16:33:30 2014
@@ -49,23 +49,23 @@ import java.util.TimeZone;
* to create <code>Date</code> objects for different <i>time zones</i>
* if the system default is not appropriate.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform various date comparison checks:</p>
* <ul>
* <li><code>compareDates()</code> compares the day, month and
- * year of two dates, returing 0, -1 or +1 indicating
+ * year of two dates, returning 0, -1 or +1 indicating
* whether the first date is equal, before or after the second.</li>
* <li><code>compareWeeks()</code> compares the week and
- * year of two dates, returing 0, -1 or +1 indicating
+ * year of two dates, returning 0, -1 or +1 indicating
* whether the first week is equal, before or after the second.</li>
* <li><code>compareMonths()</code> compares the month and
- * year of two dates, returing 0, -1 or +1 indicating
+ * year of two dates, returning 0, -1 or +1 indicating
* whether the first month is equal, before or after the second.</li>
* <li><code>compareQuarters()</code> compares the quarter and
- * year of two dates, returing 0, -1 or +1 indicating
+ * year of two dates, returning 0, -1 or +1 indicating
* whether the first quarter is equal, before or after the second.</li>
* <li><code>compareYears()</code> compares the
- * year of two dates, returing 0, -1 or +1 indicating
+ * year of two dates, returning 0, -1 or +1 indicating
* whether the first year is equal, before or after the second.</li>
* </ul>
*
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java Wed Dec 31 16:33:30 2014
@@ -31,7 +31,7 @@ import java.util.Locale;
* <p>Domain names are evaluated according
* to the standards <a href="http://www.ietf.org/rfc/rfc1034.txt">RFC1034</a>,
* section 3, and <a href="http://www.ietf.org/rfc/rfc1123.txt">RFC1123</a>,
- * section 2.1. No accomodation is provided for the specialized needs of
+ * section 2.1. No accommodation is provided for the specialized needs of
* other applications; if the domain name has been URL-encoded, for example,
* validation will fail even though the equivalent plaintext version of the
* same name would have passed.
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Double</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/FloatValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/FloatValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/FloatValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/FloatValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Float</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Integer</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/LongValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/LongValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/LongValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/LongValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Long</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ShortValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ShortValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ShortValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/ShortValidator.java Wed Dec 31 16:33:30 2014
@@ -37,7 +37,7 @@ import java.util.Locale;
* one of the <code>validate()</code> methods to validate and receive a
* <i>converted</i> <code>Short</code> value.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform minimum, maximum and range checks:</p>
* <ul>
* <li><code>minValue()</code> checks whether the value is greater
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/TimeValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/TimeValidator.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/TimeValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/TimeValidator.java Wed Dec 31 16:33:30 2014
@@ -52,20 +52,20 @@ import java.util.TimeZone;
* can be used to adjust the <code>TimeZone</code> of the <code>Calendar</code>
* object afterwards.</p>
*
- * <p>Once a value has been sucessfully converted the following
+ * <p>Once a value has been successfully converted the following
* methods can be used to perform various time comparison checks:</p>
* <ul>
* <li><code>compareTime()</code> compares the hours, minutes, seconds
- * and milliseconds of two calendars, returing 0, -1 or +1 indicating
+ * and milliseconds of two calendars, returning 0, -1 or +1 indicating
* whether the first time is equal, before or after the second.</li>
* <li><code>compareSeconds()</code> compares the hours, minutes and
- * seconds of two times, returing 0, -1 or +1 indicating
+ * seconds of two times, returning 0, -1 or +1 indicating
* whether the first is equal to, before or after the second.</li>
* <li><code>compareMinutes()</code> compares the hours and minutes
- * two times, returing 0, -1 or +1 indicating
+ * two times, returning 0, -1 or +1 indicating
* whether the first is equal to, before or after the second.</li>
* <li><code>compareHours()</code> compares the hours
- * of two times, returing 0, -1 or +1 indicating
+ * of two times, returning 0, -1 or +1 indicating
* whether the first is equal to, before or after the second.</li>
* </ul>
*
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java Wed Dec 31 16:33:30 2014
@@ -28,7 +28,7 @@ import java.io.Serializable;
* to the end of the code.
* So <code>CCDDnnnnnnn</code> becomes <code>nnnnnnnCCDD</code> (where
* <code>CC</code> is the country code and <code>DD</code> is the check digit). For
- * check digit calcualtion the check digit value should be set to zero (i.e.
+ * check digit calculation the check digit value should be set to zero (i.e.
* <code>CC00nnnnnnn</code> in this example.
* <p>
* Note: the class does not check the format of the IBAN number, only the check digits.
Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/package.html
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/package.html?rev=1648729&r1=1648728&r2=1648729&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/package.html (original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/package.html Wed Dec 31 16:33:30 2014
@@ -64,12 +64,12 @@
Commons Validator serves two purposes:
</p>
<ul>
- <li>To provide standard, independant validation routines/functions.</li>
+ <li>To provide standard, independent validation routines/functions.</li>
<li>To provide a <i>mini</i> framework for Validation.</li>
</ul>
<p>
This package has been created, since version 1.3.0, in an attempt to clearly
- separate these two concerns and is the location for the standard, independant
+ separate these two concerns and is the location for the standard, independent
validation routines/functions in <em>Commons Validator</em>.
</p>
@@ -165,7 +165,7 @@
Date fooDate = validator.validate(fooString, "dd/MM/yyyy", GMT);
</pre>
-<p>The followng Time Zone <i>flavours</i> of the Validation/Conversion methods
+<p>The following Time Zone <i>flavours</i> of the Validation/Conversion methods
are provided:</p>
<ul>
<li><code>validate(<i>value</i>, TimeZone)</code></li>