mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
清掉多余的空行
This commit is contained in:
parent
2e1ed51f28
commit
11b854acb3
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user