From 49cd00da1c7f9a748d1305a8e99d0d4b5a84e74e Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Fri, 20 Nov 2015 15:03:50 -0800 Subject: [PATCH] Backport of benchmark broke build Motivation: 2a2059d97683206a23488e8c96256f2f6fb1bed0 was backported from master, and included an overriden method which does not exist in 4.1. Modifications: - Remove the invoker method from NoPriorityByteDistributionBenchmark Result: No more build error --- .../http2/NoPriorityByteDistributionBenchmark.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/microbench/src/main/java/io/netty/microbench/http2/NoPriorityByteDistributionBenchmark.java b/microbench/src/main/java/io/netty/microbench/http2/NoPriorityByteDistributionBenchmark.java index 443ad320f6..a28a748f2e 100644 --- a/microbench/src/main/java/io/netty/microbench/http2/NoPriorityByteDistributionBenchmark.java +++ b/microbench/src/main/java/io/netty/microbench/http2/NoPriorityByteDistributionBenchmark.java @@ -21,7 +21,6 @@ import io.netty.channel.ChannelConfig; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; -import io.netty.channel.ChannelHandlerInvoker; import io.netty.channel.ChannelMetadata; import io.netty.channel.ChannelOutboundBuffer; import io.netty.channel.ChannelPipeline; @@ -298,11 +297,6 @@ public class NoPriorityByteDistributionBenchmark extends AbstractMicrobenchmark return channel.eventLoop(); } - @Override - public ChannelHandlerInvoker invoker() { - throw new UnsupportedOperationException(); - } - @Override public String name() { throw new UnsupportedOperationException();