Skip to content

Commit

Permalink
[FLINK-2912] [web-runtime-web] Add comment to StaticFileServerHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
uce committed Nov 2, 2015
1 parent 0845529 commit 458009d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ private void respondAsLeader(ChannelHandlerContext ctx, HttpRequest request, Str
logger.debug("Responding with file '" + file.getAbsolutePath() + '\'');
}

// Don't need to close this manually. Netty's DefaultFileRegion will take care of it.
final RandomAccessFile raf;
try {
raf = new RandomAccessFile(file, "r");
Expand Down

0 comments on commit 458009d

Please sign in to comment.