Skip to content

Commit

Permalink
Remove unneeded override
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Nov 12, 2010
1 parent 1a322a5 commit 322613c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,7 @@ protected final <T> void writeRequest(final Channel channel, final AsyncHttpClie
ChannelFuture writeFuture;
if (channel.getPipeline().get(SslHandler.class) != null) {
writeFuture = channel.write(new ChunkedFile(raf, 0, fileLength, 8192));
writeFuture.addListener(new ProgressListener(false, future.getAsyncHandler(), future) {
public void operationComplete(ChannelFuture cf) {
super.operationComplete(cf);
}
});
writeFuture.addListener(new ProgressListener(false, future.getAsyncHandler(), future));
} else {
final FileRegion region = new OptimizedFileRegion(raf, 0, fileLength);
writeFuture = channel.write(region);
Expand Down

0 comments on commit 322613c

Please sign in to comment.