File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
iban4g/src/main/java/com/github/nalukit/iban4g/shared Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public static Iban valueOf(final String iban,
8282 return ibanObj ;
8383 }
8484 throw new IbanFormatException (IBAN_FORMATTING ,
85- StringUtils .format ("Iban must be formatted using 4 characters and space combination. " + "Expected: [%s] - Instead of [%s] - 0002 " ,
85+ StringUtils .format ("Iban must be formatted using 4 characters and space combination (0002) . " + "Expected: [%s] - Instead of [%s]" ,
8686 ibanObj .toFormattedString (),
8787 iban ));
8888 }
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public static void validate(final String iban,
7373 validate (ibanWithoutSpaces );
7474 if (!toFormattedString (ibanWithoutSpaces ).equals (iban )) {
7575 throw new IbanFormatException (IBAN_FORMATTING ,
76- StringUtils .format ("Iban must be formatted using 4 characters and space combination. " + "Expected: [%s] - Instead of [%s] - 0001 " ,
76+ StringUtils .format ("Iban must be formatted using 4 characters and space combination (0001) . " + "Expected: [%s] - Instead of [%s]" ,
7777 toFormattedString (ibanWithoutSpaces ),
7878 iban ));
7979 }
Original file line number Diff line number Diff line change 7474 </modules >
7575
7676 <properties >
77- <revision >2.2.3 </revision >
77+ <revision >2.2.4 </revision >
7878
7979 <elemental2 .version>1.1.0</elemental2 .version>
8080
You can’t perform that action at this time.
0 commit comments