From: Niki Roo Date: Fri, 3 May 2019 08:39:19 +0000 (+0200) Subject: code cleanup X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=c60b070de7344284b8467ebe3653447b58df5a6c;p=fanfix-jexer.git code cleanup --- diff --git a/src/be/nikiroo/utils/IOUtils.java b/src/be/nikiroo/utils/IOUtils.java index 0004a4e..e7ab403 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(); } }