|
I have a valid CPF that basically doesn't pass the CPF validation. I don't want to copy my cpf here b/c of the risk of identity theft. Let us say it's: 22345678910
I enter it without dot notation or hyphenation and it fails validation. As it is my own cpf, I'm 100% certain it's correct.
@CPF
public String getCPF() {
return CPF;
}
The reason is that extractVerificationString throws an indexOutOfBoundsException b/c of this: return value.substring( startIndex, endIndex + 1 );
|