This repository was archived by the owner on Nov 4, 2020. It is now read-only.
Commit 0512317
committed
Make sure to close an input stream
Closing the stream in the called method is not enough because the
method might change, or not even be found. Therefore, make sure the
stream gets closed; multiple calls to close() on the same stream do
not cause an exception, after all.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent abf791b commit 0512317
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
0 commit comments