camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-9859: Remove the 2x set option
Date Wed, 13 Apr 2016 09:35:08 GMT
Repository: camel
Updated Branches:
  refs/heads/master bfe3ed08f -> 242533de5


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/242533de
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/242533de
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/242533de

Branch: refs/heads/master
Commit: 242533de5e84d93613a5fcc4cc67f3152f7cebda
Parents: bfe3ed0
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:34:59 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/242533de/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/242533de/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