diff --git a/src/main/java/org/apache/commons/validator/Validator.java b/src/main/java/org/apache/commons/validator/Validator.java
index de9464310..cc1dcf25f 100644
--- a/src/main/java/org/apache/commons/validator/Validator.java
+++ b/src/main/java/org/apache/commons/validator/Validator.java
@@ -134,7 +134,7 @@ public class Validator implements Serializable {
protected boolean onlyReturnErrors;
/**
- * Construct a Validator
that will
+ * Constructs a Validator
that will
* use the ValidatorResources
* passed in to retrieve pluggable validators
* the different sets of validation rules.
@@ -146,7 +146,7 @@ public Validator(final ValidatorResources resources) {
}
/**
- * Construct a Validator
that will
+ * Constructs a Validator
that will
* use the ValidatorResources
* passed in to retrieve pluggable validators
* the different sets of validation rules.
@@ -164,7 +164,7 @@ public Validator(final ValidatorResources resources, final String formName) {
}
/**
- * Construct a Validator
that will
+ * Constructs a Validator
that will
* use the ValidatorResources
* passed in to retrieve pluggable validators
* the different sets of validation rules.
diff --git a/src/main/java/org/apache/commons/validator/ValidatorResult.java b/src/main/java/org/apache/commons/validator/ValidatorResult.java
index f3ca9bdaf..56ee01738 100644
--- a/src/main/java/org/apache/commons/validator/ValidatorResult.java
+++ b/src/main/java/org/apache/commons/validator/ValidatorResult.java
@@ -140,7 +140,7 @@ protected static class ResultStatus implements Serializable {
private Object result;
/**
- * Construct a Result status.
+ * Constructs a Result status.
* @param valid Whether the validator passed or failed.
* @param result Value returned by the validator.
*/
diff --git a/src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java b/src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java
index 0b9bcf7d5..5792fd58a 100644
--- a/src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/AbstractCalendarValidator.java
@@ -41,7 +41,7 @@ public abstract class AbstractCalendarValidator extends AbstractFormatValidator
private final int timeStyle;
/**
- * Construct an instance with the specified strict,
+ * Constructs an instance with the specified strict,
* time and date style parameters.
*
* @param strict {@code true} if strict
diff --git a/src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java b/src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java
index b2f841317..33b484eef 100644
--- a/src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/AbstractFormatValidator.java
@@ -36,7 +36,7 @@ public abstract class AbstractFormatValidator implements Serializable {
private final boolean strict;
/**
- * Construct an instance with the specified strict setting.
+ * Constructs an instance with the specified strict setting.
*
* @param strict {@code true} if strict
* Format
parsing should be used.
diff --git a/src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java b/src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java
index 3b931f69f..efe038f18 100644
--- a/src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/AbstractNumberValidator.java
@@ -47,7 +47,7 @@ public abstract class AbstractNumberValidator extends AbstractFormatValidator {
private final int formatType;
/**
- * Construct an instance with specified strict
+ * Constructs an instance with specified strict
* and decimal parameters.
*
* @param strict {@code true} if strict
diff --git a/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java b/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java
index 81e298904..e2531bfef 100644
--- a/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/BigDecimalValidator.java
@@ -80,7 +80,7 @@ public static BigDecimalValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public BigDecimalValidator() {
this(true);
diff --git a/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java b/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java
index 190a32073..c111ebf68 100644
--- a/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/BigIntegerValidator.java
@@ -77,7 +77,7 @@ public static BigIntegerValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public BigIntegerValidator() {
this(true, STANDARD_FORMAT);
diff --git a/src/main/java/org/apache/commons/validator/routines/ByteValidator.java b/src/main/java/org/apache/commons/validator/routines/ByteValidator.java
index 476bf12bf..7acdcbcbf 100644
--- a/src/main/java/org/apache/commons/validator/routines/ByteValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/ByteValidator.java
@@ -76,7 +76,7 @@ public static ByteValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public ByteValidator() {
this(true, STANDARD_FORMAT);
diff --git a/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java b/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java
index 06f00f4f1..550807a0e 100644
--- a/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/CalendarValidator.java
@@ -99,7 +99,7 @@ public static CalendarValidator getInstance() {
}
/**
- * Construct a strict instance with short
+ * Constructs a strict instance with short
* date style.
*/
public CalendarValidator() {
@@ -107,7 +107,7 @@ public CalendarValidator() {
}
/**
- * Construct an instance with the specified strict
+ * Constructs an instance with the specified strict
* and date style parameters.
*
* @param strict {@code true} if strict
diff --git a/src/main/java/org/apache/commons/validator/routines/CodeValidator.java b/src/main/java/org/apache/commons/validator/routines/CodeValidator.java
index a168b5295..54323bf28 100644
--- a/src/main/java/org/apache/commons/validator/routines/CodeValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/CodeValidator.java
@@ -76,7 +76,7 @@ public final class CodeValidator implements Serializable {
private final CheckDigit checkdigit;
/**
- * Construct a code validator with a specified regular
+ * Constructs a code validator with a specified regular
* expression and {@link CheckDigit}.
* The RegexValidator validator is created to be case-sensitive
*
@@ -88,7 +88,7 @@ public CodeValidator(final String regex, final CheckDigit checkdigit) {
}
/**
- * Construct a code validator with a specified regular
+ * Constructs a code validator with a specified regular
* expression, length and {@link CheckDigit}.
* The RegexValidator validator is created to be case-sensitive
*
@@ -102,7 +102,7 @@ public CodeValidator(final String regex, final int length, final CheckDigit chec
}
/**
- * Construct a code validator with a specified regular
+ * Constructs a code validator with a specified regular
* expression, minimum/maximum length and {@link CheckDigit} validation.
* The RegexValidator validator is created to be case-sensitive
*
@@ -124,7 +124,7 @@ public CodeValidator(final String regex, final int minLength, final int maxLengt
}
/**
- * Construct a code validator with a specified regular expression,
+ * Constructs a code validator with a specified regular expression,
* validator and {@link CheckDigit} validation.
*
* @param regexValidator The format regular expression validator
@@ -135,7 +135,7 @@ public CodeValidator(final RegexValidator regexValidator, final CheckDigit check
}
/**
- * Construct a code validator with a specified regular expression,
+ * Constructs a code validator with a specified regular expression,
* validator, length and {@link CheckDigit} validation.
*
* @param regexValidator The format regular expression validator
@@ -148,7 +148,7 @@ public CodeValidator(final RegexValidator regexValidator, final int length, fina
}
/**
- * Construct a code validator with a specified regular expression
+ * Constructs a code validator with a specified regular expression
* validator, minimum/maximum length and {@link CheckDigit} validation.
*
* @param regexValidator The format regular expression validator
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 85da93f96..87a2e4e43 100644
--- a/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/CurrencyValidator.java
@@ -59,14 +59,14 @@ public static BigDecimalValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public CurrencyValidator() {
this(true, true);
}
/**
- * Construct an instance with the specified strict setting.
+ * Constructs an instance with the specified strict setting.
*
* @param strict {@code true} if strict
* Format
parsing should be used.
diff --git a/src/main/java/org/apache/commons/validator/routines/DateValidator.java b/src/main/java/org/apache/commons/validator/routines/DateValidator.java
index 713778f8d..d86413774 100644
--- a/src/main/java/org/apache/commons/validator/routines/DateValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/DateValidator.java
@@ -96,7 +96,7 @@ public static DateValidator getInstance() {
}
/**
- * Construct a strict instance with short
+ * Constructs a strict instance with short
* date style.
*/
public DateValidator() {
@@ -104,7 +104,7 @@ public DateValidator() {
}
/**
- * Construct an instance with the specified strict
+ * Constructs an instance with the specified strict
* and date style parameters.
*
* @param strict {@code true} if strict
diff --git a/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java b/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java
index 2fdccbc3c..8ed8b1ae9 100644
--- a/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/DoubleValidator.java
@@ -76,7 +76,7 @@ public static DoubleValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public DoubleValidator() {
this(true, STANDARD_FORMAT);
diff --git a/src/main/java/org/apache/commons/validator/routines/FloatValidator.java b/src/main/java/org/apache/commons/validator/routines/FloatValidator.java
index 9a5912f04..13a907cb7 100644
--- a/src/main/java/org/apache/commons/validator/routines/FloatValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/FloatValidator.java
@@ -76,7 +76,7 @@ public static FloatValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public FloatValidator() {
this(true, STANDARD_FORMAT);
diff --git a/src/main/java/org/apache/commons/validator/routines/ISBNValidator.java b/src/main/java/org/apache/commons/validator/routines/ISBNValidator.java
index 0a1eb6fb4..5810d5914 100644
--- a/src/main/java/org/apache/commons/validator/routines/ISBNValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/ISBNValidator.java
@@ -130,7 +130,7 @@ public static ISBNValidator getInstance(final boolean convert) {
}
/**
- * Construct an ISBN validator which converts ISBN-10 codes
+ * Constructs an ISBN validator which converts ISBN-10 codes
* to ISBN-13.
*/
public ISBNValidator() {
@@ -138,7 +138,7 @@ public ISBNValidator() {
}
/**
- * Construct an ISBN validator indicating whether
+ * Constructs an ISBN validator indicating whether
* ISBN-10 codes should be converted to ISBN-13.
*
* @param convert {@code true} if valid ISBN-10 codes
diff --git a/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java b/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java
index 87cbb6259..e8fbcf5d5 100644
--- a/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/IntegerValidator.java
@@ -76,7 +76,7 @@ public static IntegerValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public IntegerValidator() {
this(true, STANDARD_FORMAT);
diff --git a/src/main/java/org/apache/commons/validator/routines/LongValidator.java b/src/main/java/org/apache/commons/validator/routines/LongValidator.java
index 335f98db7..8ec34e4e2 100644
--- a/src/main/java/org/apache/commons/validator/routines/LongValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/LongValidator.java
@@ -75,7 +75,7 @@ public static LongValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public LongValidator() {
this(true, STANDARD_FORMAT);
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 cad01b865..d1262bf1c 100644
--- a/src/main/java/org/apache/commons/validator/routines/PercentValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/PercentValidator.java
@@ -64,14 +64,14 @@ public static BigDecimalValidator getInstance() {
}
/**
- * Construct a strict instance.
+ * Constructs a strict instance.
*/
public PercentValidator() {
this(true);
}
/**
- * Construct an instance with the specified strict setting.
+ * Constructs an instance with the specified strict setting.
*
* @param strict {@code true} if strict
* Format
parsing should be used.
diff --git a/src/main/java/org/apache/commons/validator/routines/RegexValidator.java b/src/main/java/org/apache/commons/validator/routines/RegexValidator.java
index 341aebbf9..6e644264e 100644
--- a/src/main/java/org/apache/commons/validator/routines/RegexValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/RegexValidator.java
@@ -24,7 +24,7 @@
/**
* Regular Expression validation (using the JRE's regular expression support).
*
- * Construct the validator either for a single regular expression or a set (array) of + * Constructs the validator either for a single regular expression or a set (array) of * regular expressions. By default validation is case sensitive but constructors * are provided to allow case in-sensitive validation. For example to create * a validator which does case in-sensitive validation for a set of regular diff --git a/src/main/java/org/apache/commons/validator/routines/ShortValidator.java b/src/main/java/org/apache/commons/validator/routines/ShortValidator.java index a4cc0441f..6e68fd0f6 100644 --- a/src/main/java/org/apache/commons/validator/routines/ShortValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/ShortValidator.java @@ -76,7 +76,7 @@ public static ShortValidator getInstance() { } /** - * Construct a strict instance. + * Constructs a strict instance. */ public ShortValidator() { this(true, STANDARD_FORMAT); diff --git a/src/main/java/org/apache/commons/validator/routines/TimeValidator.java b/src/main/java/org/apache/commons/validator/routines/TimeValidator.java index 6856deac1..c715e2598 100644 --- a/src/main/java/org/apache/commons/validator/routines/TimeValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/TimeValidator.java @@ -96,7 +96,7 @@ public static TimeValidator getInstance() { } /** - * Construct a strict instance with short + * Constructs a strict instance with short * time style. */ public TimeValidator() { @@ -104,7 +104,7 @@ public TimeValidator() { } /** - * Construct an instance with the specified strict + * Constructs an instance with the specified strict * and time style parameters. * * @param strict {@code true} if strict diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/ABANumberCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/ABANumberCheckDigit.java index ebaab4d42..914753cf7 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/ABANumberCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/ABANumberCheckDigit.java @@ -54,7 +54,7 @@ public final class ABANumberCheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {3, 1, 7}; /** - * Construct a modulus 10 Check Digit routine for ABA Numbers. + * Constructs a modulus 10 Check Digit routine for ABA Numbers. */ public ABANumberCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java index f8fe96d6f..0d9af2c88 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java @@ -49,7 +49,7 @@ public final class CUSIPCheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {2, 1}; /** - * Construct a CUSIP Identifier Check Digit routine. + * Constructs a CUSIP Identifier Check Digit routine. */ public CUSIPCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigitException.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigitException.java index d8753a53d..14a301ead 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigitException.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigitException.java @@ -26,13 +26,13 @@ public class CheckDigitException extends Exception { private static final long serialVersionUID = -3519894732624685477L; /** - * Construct an Exception with no message. + * Constructs an Exception with no message. */ public CheckDigitException() { } /** - * Construct an Exception with a message. + * Constructs an Exception with a message. * * @param msg The error message. */ @@ -41,7 +41,7 @@ public CheckDigitException(final String msg) { } /** - * Construct an Exception with a message and + * Constructs an Exception with a message and * the underlying cause. * * @param msg The error message. diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/EAN13CheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/EAN13CheckDigit.java index bbe662066..e6f152975 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/EAN13CheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/EAN13CheckDigit.java @@ -50,7 +50,7 @@ public final class EAN13CheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {3, 1}; /** - * Construct a modulus 10 Check Digit routine for EAN/UPC. + * Constructs a modulus 10 Check Digit routine for EAN/UPC. */ public EAN13CheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java index adab1437d..86830b94c 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java @@ -55,7 +55,7 @@ public final class IBANCheckDigit implements CheckDigit, Serializable { private static final long MODULUS = 97; /** - * Construct Check Digit routine for IBAN Numbers. + * Constructs Check Digit routine for IBAN Numbers. */ public IBANCheckDigit() { } diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/ISBN10CheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/ISBN10CheckDigit.java index e3ae689e7..02d17366d 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/ISBN10CheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/ISBN10CheckDigit.java @@ -49,7 +49,7 @@ public final class ISBN10CheckDigit extends ModulusCheckDigit { public static final CheckDigit ISBN10_CHECK_DIGIT = new ISBN10CheckDigit(); /** - * Construct a modulus 11 Check Digit routine for ISBN-10. + * Constructs a modulus 11 Check Digit routine for ISBN-10. */ public ISBN10CheckDigit() { super(11); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigit.java index 991814cc0..71f6f5d66 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigit.java @@ -51,7 +51,7 @@ public final class ISINCheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {2, 1}; /** - * Construct an ISIN Identifier Check Digit routine. + * Constructs an ISIN Identifier Check Digit routine. */ public ISINCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.java index d78e80141..170ebe642 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.java @@ -47,7 +47,7 @@ public final class LuhnCheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {2, 1}; /** - * Construct a modulus 10 Luhn Check Digit routine. + * Constructs a modulus 10 Luhn Check Digit routine. */ public LuhnCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java index 9d33b5f00..b485efb1f 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java @@ -39,7 +39,7 @@ public abstract class ModulusCheckDigit implements CheckDigit, Serializable { private final int modulus; /** - * Construct a {@link CheckDigit} routine for a specified modulus. + * Constructs a {@link CheckDigit} routine for a specified modulus. * * @param modulus The modulus value to use for the check digit calculation */ diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java index 9c4d7839d..98abb5446 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java @@ -119,7 +119,7 @@ public final class ModulusTenCheckDigit extends ModulusCheckDigit { private final boolean sumWeightedDigits; /** - * Construct a modulus 10 Check Digit routine with the specified weighting + * Constructs a modulus 10 Check Digit routine with the specified weighting * from left to right. * * @param postitionWeight the weighted values to apply based on the @@ -130,7 +130,7 @@ public ModulusTenCheckDigit(final int[] postitionWeight) { } /** - * Construct a modulus 10 Check Digit routine with the specified weighting, + * Constructs a modulus 10 Check Digit routine with the specified weighting, * indicating whether its from the left or right. * * @param postitionWeight the weighted values to apply based on the @@ -143,7 +143,7 @@ public ModulusTenCheckDigit(final int[] postitionWeight, final boolean useRightP } /** - * Construct a modulus 10 Check Digit routine with the specified weighting, + * Constructs a modulus 10 Check Digit routine with the specified weighting, * indicating whether its from the left or right and whether the weighted * digits should be summed. * diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java index 9b29a8c60..a51b56dda 100644 --- a/src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java +++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java @@ -51,7 +51,7 @@ public final class SedolCheckDigit extends ModulusCheckDigit { private static final int[] POSITION_WEIGHT = {1, 3, 1, 7, 3, 9, 1}; /** - * Construct a modulus 11 Check Digit routine for ISBN-10. + * Constructs a modulus 11 Check Digit routine for ISBN-10. */ public SedolCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber diff --git a/src/test/java/org/apache/commons/validator/CustomValidatorResourcesTest.java b/src/test/java/org/apache/commons/validator/CustomValidatorResourcesTest.java index 6c1902646..45f330608 100644 --- a/src/test/java/org/apache/commons/validator/CustomValidatorResourcesTest.java +++ b/src/test/java/org/apache/commons/validator/CustomValidatorResourcesTest.java @@ -26,7 +26,7 @@ public class CustomValidatorResourcesTest extends TestCase { /** - * Construct a test case with the specified name. + * Constructs a test case with the specified name. * @param name Name of the test */ public CustomValidatorResourcesTest(final String name) { diff --git a/src/test/java/org/apache/commons/validator/routines/CodeValidatorTest.java b/src/test/java/org/apache/commons/validator/routines/CodeValidatorTest.java index e0cbae466..809f88ef2 100644 --- a/src/test/java/org/apache/commons/validator/routines/CodeValidatorTest.java +++ b/src/test/java/org/apache/commons/validator/routines/CodeValidatorTest.java @@ -29,7 +29,7 @@ public class CodeValidatorTest extends TestCase { /** - * Construct a test with the specified name. + * Constructs a test with the specified name. * @param name The name of the test */ public CodeValidatorTest(final String name) { diff --git a/src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java b/src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java index 107f345b8..12df6cff8 100644 --- a/src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java +++ b/src/test/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigitTest.java @@ -25,7 +25,7 @@ public class CUSIPCheckDigitTest extends AbstractCheckDigitTest { /** - * Construct a new test. + * Constructs a new test. * @param name test name */ public CUSIPCheckDigitTest(final String name) { diff --git a/src/test/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCUSIPCheckDigitTest.java b/src/test/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCUSIPCheckDigitTest.java index 2941d7254..3d7ae9652 100644 --- a/src/test/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCUSIPCheckDigitTest.java +++ b/src/test/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCUSIPCheckDigitTest.java @@ -23,7 +23,7 @@ public class ModulusTenCUSIPCheckDigitTest extends AbstractCheckDigitTest { /** - * Construct a new test. + * Constructs a new test. * @param name test name */ public ModulusTenCUSIPCheckDigitTest(final String name) { diff --git a/src/test/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigitTest.java b/src/test/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigitTest.java index f7911ea01..8a4298ec0 100644 --- a/src/test/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigitTest.java +++ b/src/test/java/org/apache/commons/validator/routines/checkdigit/VerhoeffCheckDigitTest.java @@ -24,7 +24,7 @@ public class VerhoeffCheckDigitTest extends AbstractCheckDigitTest { /** - * Construct a new test. + * Constructs a new test. * @param name test name */ public VerhoeffCheckDigitTest(final String name) {