But even without tests - this method returns [FileLock](http://docs.oracle.com/javase/1.4.2/docs/api/java/nio/channels/FileLock.html) which should be released.