Description
1. Replaced StringBuffer with StringBuilder
2. Replaced Exception with IOException and ExecException
3. Replaced old Hashmap notation with diamond notation
4. Added try-with-resources notation
1. Replaced StringBuffer with StringBuilder
2. Replaced Exception with IOException and ExecException
3. Replaced old Hashmap notation with diamond notation
4. Added try-with-resources notation