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 ba14ac8af..e32d757bf 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 an CUSIP Indetifier Check Digit routine. + * Construct a CUSIP Identifier Check Digit routine. */ public CUSIPCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber @@ -62,7 +62,7 @@ public CUSIPCheckDigit() { * @param leftPos The position of the character in the code, counting from left to right * @param rightPos The position of the character in the code, counting from right to left * @return The integer value of the character - * @throws CheckDigitException if character is not alphanumeric + * @throws CheckDigitException if the character is not alphanumeric */ @Override protected int toInt(final char character, final int leftPos, final int rightPos) @@ -87,7 +87,7 @@ protected int toInt(final char character, final int leftPos, final int rightPos) * * @param charValue The numeric value of the character. * @param leftPos The position of the character in the code, counting from left to right - * @param rightPos The positionof the character in the code, counting from right to left + * @param rightPos The position of the character in the code, counting from right to left * @return The weighted value of the character. */ @Override 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 2d7fd81be..991814cc0 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 Indetifier Check Digit routine. + * Construct an ISIN Identifier Check Digit routine. */ public ISINCheckDigit() { super(10); // CHECKSTYLE IGNORE MagicNumber