Skip to content

Commit

Permalink
TailChannelHandler does not need to implement _ChannelOutboundHandler (
Browse files Browse the repository at this point in the history
…#297)

Motivation:

TailChannelHandler does not implement any _ChannelOutboundHandler methods and so has no need to conform to it.

Modifications:

Not implement _ChannelOutboundHandler for TailChannelHandler

Result:

More correct code.
  • Loading branch information
normanmaurer authored Apr 10, 2018
1 parent 33facfe commit b6681c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIO/ChannelPipeline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ private extension CloseMode {
}

/// Special `ChannelInboundHandler` which will consume all inbound events.
/* private but tests */ final class TailChannelHandler: _ChannelInboundHandler, _ChannelOutboundHandler {
/* private but tests */ final class TailChannelHandler: _ChannelInboundHandler {

static let name = "tail"
static let sharedInstance = TailChannelHandler()
Expand Down

0 comments on commit b6681c0

Please sign in to comment.