mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 04:58:46 +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.