CAMEL-10244: Fix code to compile
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/10cf614e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/10cf614e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/10cf614e Branch: refs/heads/master Commit: 10cf614ef612fae9b2b063b885e87e011d270c95 Parents: d19e01f Author: Claus Ibsen <davscl...@apache.org> Authored: Tue Aug 16 08:57:20 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue Aug 16 08:57:48 2016 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/camel/component/netty4/NettyProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/10cf614e/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java ---------------------------------------------------------------------- diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java index 42f4db0..273220c 100644 --- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java +++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyProducer.java @@ -240,7 +240,7 @@ public class NettyProducer extends DefaultAsyncProducer { return false; } - public void processWithConnectedChannel(final Exchange exchange, AsyncCallback callback, ChannelFuture channelFuture, Object body) { + public void processWithConnectedChannel(final Exchange exchange, final AsyncCallback callback, final ChannelFuture channelFuture, final Object body) { // remember channel so we can reuse it final Channel channel = channelFuture.channel(); if (getConfiguration().isReuseChannel() && exchange.getProperty(NettyConstants.NETTY_CHANNEL) == null) {