camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Fixed test
Date Sun, 26 Jul 2015 16:43:29 GMT
Fixed test


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

Branch: refs/heads/master
Commit: a872992176f4c5a8042cfeefd585b01312125aba
Parents: 0907ada
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun Jul 26 18:42:02 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Jul 26 18:42:02 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/jetty/BaseJettyTest.java    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a8729921/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/BaseJettyTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/BaseJettyTest.java
b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/BaseJettyTest.java
index b4ea46b..c9c8f4d 100644
--- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/BaseJettyTest.java
+++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/BaseJettyTest.java
@@ -21,7 +21,6 @@ import java.util.concurrent.atomic.AtomicInteger;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.properties.PropertiesComponent;
-import org.apache.camel.http.common.DefaultHttpBinding;
 import org.apache.camel.http.common.HttpHeaderFilterStrategy;
 import org.apache.camel.impl.JndiRegistry;
 import org.apache.camel.test.AvailablePortFinder;
@@ -106,9 +105,7 @@ public abstract class BaseJettyTest extends CamelTestSupport {
         JettyHttpComponent jetty = (JettyHttpComponent)context.getComponent("jetty");
         HttpHeaderFilterStrategy filterStrat = new HttpHeaderFilterStrategy();
         filterStrat.setAllowNullValues(true);
-        @SuppressWarnings("deprecation")
-        DefaultHttpBinding httpBinding = new DefaultHttpBinding(filterStrat);
-        jetty.setHttpBinding(httpBinding);
+        jetty.setHeaderFilterStrategy(filterStrat);
     }
 
     protected boolean isJetty8() {


Mime
View raw message