handler.close();
break;
case TRANSFER: // intend to fall through as TRANSFER is the default type.
default:
if (handler.getChannel() instanceof FileChannel) {
<BUG>out.add(new DefaultFileRegion((FileChannel) handler.getChannel(), msg.getOffset(),

msg.getLength()));
} else {</BUG>
handler.close();

handler.close();
break;
case TRANSFER: // intend to fall through as TRANSFER is the default type.
default:
if (handler.getChannel() instanceof FileChannel) {
out.add(new DefaultFileRegion((FileChannel) handler.getChannel(), msg.getOffset(), msg
.getLength()));
} else {
handler.close();
