mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
清掉多余的空行
This commit is contained in:
@@ -376,7 +376,6 @@ public class FileWriter extends FileWrapper {
|
|||||||
*/
|
*/
|
||||||
public BufferedWriter getWriter(boolean isAppend) throws IORuntimeException {
|
public BufferedWriter getWriter(boolean isAppend) throws IORuntimeException {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(FileUtil.touch(file), isAppend), charset));
|
return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(FileUtil.touch(file), isAppend), charset));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new IORuntimeException(e);
|
throw new IORuntimeException(e);
|
||||||
|
Reference in New Issue
Block a user