清掉多余的空行

This commit is contained in:
hellozrh 2023-06-05 09:42:53 +08:00
parent 2e1ed51f28
commit 11b854acb3

View File

@ -376,7 +376,6 @@ public class FileWriter extends FileWrapper {
*/
public BufferedWriter getWriter(boolean isAppend) throws IORuntimeException {
try {
return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(FileUtil.touch(file), isAppend), charset));
} catch (Exception e) {
throw new IORuntimeException(e);