Commit 5886037
committed
Clean up and modernize
- replace deprecated Locale constructor with Locale.Builder
- avoid using URLs when URIs will do to avoid potentially slow DNS lookups
- make better use of type checking
- make better use of try-with-resources
- narrow exceptions caught
- simplify loops1 parent ca69997 commit 5886037
1 file changed
Lines changed: 92 additions & 93 deletions
0 commit comments