Closed mikegr closed 9 years ago
Thank you Michael for the pull request.
I have couple of questions.
Thank you, Artur
Thanks for providing the context.
So to sum up you need:
Let me think about solution and I will come back to you during weekend.
Hi Michael,
Let me know what you think.
Thanks, Artur
Hi Artur, the changes almost solve all my problems.
3 points:
Hi Michael will implement those changes as well and let you know soon.
Hi Michael,
Let me know if this helps.
I got sick. I will get back to you when I feel better.
Hello, thanks for your changes. That will be enough information. Does the scope of iban4j includes validation of incomplete IBANs? I have add my code for that in https://github.com/mikegr/iban4android/blob/master/src/main/java/com/github/mikegr/iban4android/IbanChecker.java Not sure about that.
Hi Michael,
I don't think that partial iban checker should be in the project scope.
I will apply some sanity checks to master soon and publish new major version to maven central.
Thank you for helping to improve the library.
Thanks, Artur
I have added constraints for each exception that specify the exact cause and allow additional information.
I have added a Gradle file to support the use with Android Studio. Furthermore I have added an IbanChecker that validates incomplete IBANs. The Android code has moved to my iban4android project. 'mvn package' still works, but please check if the change of the test cases are okay. I have moved some error cases to the UnsupportedCountryException and replaced the InvalidateArgumentException with their corresponding exception.