From: Niki Roo Date: Fri, 3 May 2019 08:39:19 +0000 (+0200) Subject: code cleanup X-Git-Tag: fanfix-swing-0.0.1~21^2~88 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=c60b070de7344284b8467ebe3653447b58df5a6c;p=fanfix-swing.git code cleanup --- diff --git a/src/be/nikiroo/utils/IOUtils.java b/src/be/nikiroo/utils/IOUtils.java index 0004a4e7..e7ab4033 100644 --- a/src/be/nikiroo/utils/IOUtils.java +++ b/src/be/nikiroo/utils/IOUtils.java @@ -275,8 +275,7 @@ public class IOUtils { write(stream, out); return out.toString("UTF-8"); } finally { - // do NOT close, or the related stream will be closed, too - // out.close(); + out.close(); } }