finally 中带有 resource.close()try-finally 块转换为 resource.use() 调用。