使用 try-with-resources 语句替代 try-finally 语句

NoSuchKey