From ac9bdf37163ee8d12c6ed41fe43e492b53f7e045 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 23 Jul 2024 12:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/xypower/common/FilesUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/com/xypower/common/FilesUtils.java b/common/src/main/java/com/xypower/common/FilesUtils.java index 156f4cba..fc036c37 100644 --- a/common/src/main/java/com/xypower/common/FilesUtils.java +++ b/common/src/main/java/com/xypower/common/FilesUtils.java @@ -161,6 +161,7 @@ public class FilesUtils { String line; while ((line = bufferedReader.readLine()) != null) { stringBuilder.append(line); + stringBuilder.append("\n"); } } } catch (UnsupportedEncodingException e) { @@ -187,6 +188,7 @@ public class FilesUtils { String line; while ((line = bufferedReader.readLine()) != null) { stringBuilder.append(line); + stringBuilder.append("\n"); } } catch (UnsupportedEncodingException e) { e.printStackTrace();