Skip to content
Snippets Groups Projects
Commit 99d9b517 authored by Fabien Delecroix's avatar Fabien Delecroix
Browse files

correction coquille substring

parent 002713c6
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@ public class ULillePhoneNumber extends PhoneNumber{
public ULillePhoneNumber(String fiveDigits) {
super(PhoneNumber.FRANCE_CODE,
Integer.valueOf(U_LILLE_PREFIX.substring(1)),
Integer.valueOf(U_LILLE_PREFIX.substring(0, 1)),
Integer.valueOf(U_LILLE_PREFIX.substring(1, 3)),
Integer.valueOf(U_LILLE_PREFIX.substring(3, 4)+fiveDigits.substring(1, 1)),
Integer.valueOf(fiveDigits.substring(1, 3)),
Integer.valueOf(fiveDigits.substring(3, 5)));
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment