src/denglu/UserChuShiHua.java
@@ -11,7 +11,6 @@ userProperties = new Properties(); try (InputStream input = new FileInputStream(FILE_PATH)) { userProperties.load(input); System.out.println("用户数据初始化成功!"); } catch (IOException e) { System.err.println("初始化失败,文件未找到或读取错误: " + e.getMessage()); } @@ -28,7 +27,6 @@ try (OutputStream output = new FileOutputStream(FILE_PATH)) { userProperties.store(output, "Updated User Properties"); System.out.println("属性 " + key + " 已更新为: " + value); } catch (IOException e) { System.err.println("更新失败,文件写入错误: " + e.getMessage()); }