I think it's OK if we use it as IOUtils.closeQuietly API suggests, ie double-close
FileChannel ch = null;
try {
ch = new FileInputStream("foo.txt").getChannel();
// process
ch.close();
} catch (Exception e) {
// error handling
} finally {
IOUtils.closeQuietly(ch);
}
But try-with-resources if Java 7 is available is a much cleaner way.