camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: CAMEL-9859: Remove the 2x set option
Date Wed, 13 Apr 2016 09:36:07 GMT
CAMEL-9859: Remove the 2x set option


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4475b798
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4475b798
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4475b798

Branch: refs/heads/camel-2.17.x
Commit: 4475b798caaf252692d9e72105a491f499fe695e
Parents: 8f16f02
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Apr 13 11:34:59 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Apr 13 11:35:47 2016 +0200

----------------------------------------------------------------------
 .../component/netty4/SingleTCPNettyServerBootstrapFactory.java      | 1 -
 .../component/netty4/SingleUDPNettyServerBootstrapFactory.java      | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4475b798/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleTCPNettyServerBootstrapFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleTCPNettyServerBootstrapFactory.java
b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleTCPNettyServerBootstrapFactory.java
index 0fe4e82..9184fae 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleTCPNettyServerBootstrapFactory.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleTCPNettyServerBootstrapFactory.java
@@ -178,7 +178,6 @@ public class SingleTCPNettyServerBootstrapFactory extends ServiceSupport
impleme
                     Object o = CamelContextHelper.mandatoryLookup(camelContext, name);
                     serverBootstrap.option(option, o);
                 } else {
-                    serverBootstrap.option(ChannelOption.valueOf(entry.getKey()), value);
                     serverBootstrap.option(option, value);
                 }
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/4475b798/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleUDPNettyServerBootstrapFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleUDPNettyServerBootstrapFactory.java
b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleUDPNettyServerBootstrapFactory.java
index ca0482f..dcaa262 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleUDPNettyServerBootstrapFactory.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/SingleUDPNettyServerBootstrapFactory.java
@@ -158,7 +158,6 @@ public class SingleUDPNettyServerBootstrapFactory extends ServiceSupport
impleme
                     Object o = CamelContextHelper.mandatoryLookup(camelContext, name);
                     bootstrap.option(option, o);
                 } else {
-                    bootstrap.option(ChannelOption.valueOf(entry.getKey()), value);
                     bootstrap.option(option, value);
                 }
             }


Mime
View raw message