mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-07-04 15:07:01 +00:00
95f2c19780
Using try-with-resources if we use Scanner to close the underlying stream is a good practice to handle resources. Minimal refactor.