Does this not throw a warning about how a Closeable type has not been closed?
I looked at the [implementation for FileChannel](https://android.googlesource.com/platform/dalvik.git/+/2ad60cfc28e14ee8f0bb038720836a4696c478ad/libcore/nio/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java) and it looks like all stream handles are closed when you invoke close() from a child channel object. In this case, the warning is annoying more than anything else, so go ahead and suppress the warning ( @SuppressWarnings("resource")  ) and leave a comment as to why the warning was suppressed. The idea is to have clean, secure code and that starts with having no compile-time warnings.