Repository: camel Updated Branches: refs/heads/master 3ffd940a7 -> 09f6ada3b
CAMEL-11191: Service Call - XML configuration of static servers called servers instead of server Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/dcf982f6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/dcf982f6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/dcf982f6 Branch: refs/heads/master Commit: dcf982f647704cfad0a8743920c33e8da7d5d051 Parents: 3ffd940 Author: lburgazzoli <lburgazz...@gmail.com> Authored: Mon Apr 24 15:33:00 2017 +0200 Committer: lburgazzoli <lburgazz...@gmail.com> Committed: Mon Apr 24 15:33:00 2017 +0200 ---------------------------------------------------------------------- ...istServiceCallServiceFilterConfiguration.java | 19 ------------------- ...ServiceCallServiceDiscoveryConfiguration.java | 19 ------------------- 2 files changed, 38 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/dcf982f6/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java b/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java index ea67c25..1d1a101 100644 --- a/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java +++ b/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java @@ -16,7 +16,6 @@ */ package org.apache.camel.model.cloud; -import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -55,17 +54,6 @@ public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallS this.servers = servers; } - /** - * Sets the server list; - */ - public void addServer(String server) { - if (this.servers == null) { - this.servers = new ArrayList<>(); - } - - this.servers.add(server); - } - // ************************************************************************* // Fluent API // ************************************************************************* @@ -77,11 +65,4 @@ public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallS setServers(servers); return this; } - /** - * Add a server to the list of servers - */ - public BlacklistServiceCallServiceFilterConfiguration server(String server) { - addServer(server); - return this; - } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/dcf982f6/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java b/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java index ce50c2f..0c5dae1 100644 --- a/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java +++ b/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java @@ -17,7 +17,6 @@ package org.apache.camel.model.cloud; -import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -56,17 +55,6 @@ public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallS this.servers = servers; } - /** - * Sets the server list; - */ - public void addServer(String server) { - if (this.servers == null) { - this.servers = new ArrayList<>(); - } - - this.servers.add(server); - } - // ************************************************************************* // Fluent API // ************************************************************************* @@ -78,11 +66,4 @@ public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallS setServers(servers); return this; } - /** - * Add a server to the list of servers - */ - public StaticServiceCallServiceDiscoveryConfiguration server(String server) { - addServer(server); - return this; - } } \ No newline at end of file