We're updating the issue view to help you get more done. 

CPF validation

Description

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.

1 2 3 4 @CPF public String getCPF() { return CPF; }

The reason is that extractVerificationString throws an indexOutOfBoundsException b/c of this:
return value.substring( startIndex, endIndex + 1 );

Environment

java 8, Eclipse Luna

Status

Assignee

Unassigned

Reporter

Marc Schipperheyn

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.1.3.Final

Priority

Major