Skip to content

Commit

Permalink
Remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ryn5 committed Nov 6, 2023
1 parent 85bc9cc commit 2198224
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public class HttpUserAgentHandler extends ChannelInboundHandlerAdapter {

@Override
public void channelRead(final ChannelHandlerContext ctx, Object msg) {
// if (msg instanceof HttpRequest) {
// final HttpRequest request = (HttpRequest) msg;
if (msg instanceof FullHttpMessage) {
final FullHttpMessage request = (FullHttpMessage) msg;
if (request.headers().contains(UserAgent.USER_AGENT_HEADER_NAME)){
Expand Down

0 comments on commit 2198224

Please sign in to comment.