Florian Zschocke
2013-08-21 fdb31ca346eb322f7cec5182ed0dc6b01259f918
refs
author Florian Zschocke <florian.zschocke@cycos.com>
Wednesday, August 21, 2013 09:07 -0400
committer Florian Zschocke <florian.zschocke@cycos.com>
Wednesday, August 21, 2013 12:07 -0400
commitfdb31ca346eb322f7cec5182ed0dc6b01259f918
tree 86be6671af563062dffcfb09e68b2bdd0a28d6bc tree | zip | gz
parent 005a65d1862ec1fe940b4ef2b5dd47dca82d3b28 view | diff
Close streams in finally block.

Close input and output streams in a finally block so that they do not linger around and occupy system resources when an exception occurs.
1 files modified
46 ■■■■ changed files
src/main/java/com/gitblit/utils/FileUtils.java 46 ●●●● diff | view | raw | blame | history