Skip to content

Commit 4f18282

Browse files
author
Stephane Landelle
committed
minor clean up
1 parent ff20dd9 commit 4f18282

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/ning/http/client/providers/netty/handler

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/handler/Processor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws
149149
Throwable cause = e.getCause();
150150
NettyResponseFuture<?> future = null;
151151

152-
if (e.getCause() instanceof PrematureChannelClosureException || cause instanceof ClosedChannelException)
152+
if (cause instanceof PrematureChannelClosureException || cause instanceof ClosedChannelException)
153153
return;
154154

155155
LOGGER.debug("Unexpected I/O exception on channel {}", channel, cause);

0 commit comments

Comments
 (0)