From 5d141242c998adfe5525c33dbd3799f85e73d871 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sun, 23 Mar 2014 16:19:37 +0100 Subject: [PATCH] Remove overridden next() method in EventLoop interface. 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. --- transport/src/main/java/io/netty/channel/EventLoop.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/transport/src/main/java/io/netty/channel/EventLoop.java b/transport/src/main/java/io/netty/channel/EventLoop.java index 4566665ba3ff..de0f760cc937 100644 --- a/transport/src/main/java/io/netty/channel/EventLoop.java +++ b/transport/src/main/java/io/netty/channel/EventLoop.java @@ -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.