code cleanup
authorNiki Roo <niki@nikiroo.be>
Fri, 3 May 2019 08:39:19 +0000 (10:39 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 3 May 2019 08:39:19 +0000 (10:39 +0200)
src/be/nikiroo/utils/IOUtils.java

index 0004a4e7d79008d303a5c00abf238f1ec65352fc..e7ab4033a8e15933ee6b38673a57efb6f074feb6 100644 (file)
@@ -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();
                }
        }