Closed salmov-e-n closed 1 year ago
This is a bit confusing, "name()" method is an internal method of Enum and the return value is correct(Alpha2). However, it is very hard to distinguish between "name" and "name()". I might refactor the "name" variable to something more meaningful like "Description" to avoid this confusion.
Thanks, agree! It was just a confusion. I'm not sure variable needs to be refactored.
https://github.com/arturmkrtchyan/iban4j/blob/master/src/main/java/org/iban4j/CountryCode.java#L791