(OutputStream out)
| 172 | // safe close helpers |
| 173 | |
| 174 | private static void safeClose(OutputStream out) { |
| 175 | try { |
| 176 | if (out != null) { |
| 177 | out.close(); |
| 178 | } |
| 179 | } catch (IOException e) { |
| 180 | // do nothing |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | private static void safeClose(FileChannel out) { |
| 185 | try { |