Closed Moutard3 closed 4 years ago
The Integer.parseInt() should probably be wrapped in a try-catch block (since that throws NumberFormatException when invalid input is given)
The Integer.parseInt() should probably be wrapped in a try-catch block (since that throws NumberFormatException when invalid input is given)
True. I made a new commit to prevent this.
Thanks again for working on this! I pushed a few changes - feel free to look at the commit.
I kept your overall approach, but made a few tweaks:
REGIONS_PER_PAGE
is now a static final constant, to make it easier to find and change.
Fix #46