Skip to content

Commit

Permalink
Merge pull request #144 from torrespro/doc-Indetifier-typo
Browse files Browse the repository at this point in the history
Doc indetifier typo
  • Loading branch information
garydgregory authored Aug 2, 2023
2 parents 6de4694 + cb44db2 commit f6d4baf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6d4baf

Please sign in to comment.