Skip to content

Commit

Permalink
Remove overridden next() method in EventLoop interface.
Browse files Browse the repository at this point in the history
Motivation:
EventLoop overrides the next() method with the same signature of its
super class EventLoopGroup.

Modifications:
Remove the duplicate method declaration from the EventLoop interface.

Result:
Perhaps makes the API slightly more readable as there is one less
method.
  • Loading branch information
danbev authored and trustin committed Mar 24, 2014
1 parent 9665656 commit 5d14124
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions transport/src/main/java/io/netty/channel/EventLoop.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public interface EventLoop extends EventExecutor, EventLoopGroup {
@Override
EventLoopGroup parent();

@Override
EventLoop next();

/**
* Creates a new default {@link ChannelHandlerInvoker} implementation that uses this {@link EventLoop} to
* invoke event handler methods.
Expand Down

0 comments on commit 5d14124

Please sign in to comment.