[camel] branch master updated: Fixed CS for camel-restlet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 766f613 Fixed CS for camel-restlet 766f613 is described below commit 766f613bcf8a30342fe8990f1c7c64ed08e1d006 Author: Andrea Cosentino AuthorDate: Fri Jul 12 14:59:18 2019 +0200 Fixed CS for camel-restlet --- .../org/apache/camel/component/restlet/RestRestletRouterIdTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java index dcbee1d..ad18815 100644 --- a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java +++ b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java @@ -17,7 +17,6 @@ package org.apache.camel.component.restlet; -import org.apache.camel.test.AvailablePortFinder; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.RoutesBuilder; @@ -25,6 +24,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.http4.HttpMethods; import org.apache.camel.impl.JndiRegistry; import org.apache.camel.model.rest.RestBindingMode; +import org.apache.camel.test.AvailablePortFinder; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Assert; import org.junit.Test; @@ -116,7 +116,7 @@ public class RestRestletRouterIdTest extends CamelTestSupport { Assert.assertEquals("\"test5\"", template.requestBodyAndHeader( -"http4://localhost:" + port +"/app/test5", +"http4://localhost:" + port + "/app/test5", "", Exchange.HTTP_METHOD, HttpMethods.GET,
[camel] branch master updated: Fixed CS for camel-restlet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 8512692 Fixed CS for camel-restlet 8512692 is described below commit 8512692b653e67a841c0c81cb349a48f533905c7 Author: Andrea Cosentino AuthorDate: Thu Jul 11 10:19:28 2019 +0200 Fixed CS for camel-restlet --- .../org/apache/camel/component/restlet/RestRestletRouterIdTest.java | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java index ad2d2af..e4fec0e 100644 --- a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java +++ b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletRouterIdTest.java @@ -31,7 +31,7 @@ import org.junit.Test; public class RestRestletRouterIdTest extends CamelTestSupport { private static final Processor SET_ROUTE_ID_AS_BODY = -exchange -> exchange.getIn().setBody(exchange.getFromRouteId()); +exchange -> exchange.getIn().setBody(exchange.getFromRouteId()); @Override protected JndiRegistry createRegistry() throws Exception { @@ -72,9 +72,7 @@ public class RestRestletRouterIdTest extends CamelTestSupport { .to("direct:setId") .endRest() .to("direct:setId2"); -} - -; +}; }; }
[camel] branch master updated: Fixed CS for Camel-restlet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 047cef1 Fixed CS for Camel-restlet 047cef1 is described below commit 047cef10188139f262e392502e8376687667e02a Author: Andrea Cosentino AuthorDate: Tue May 28 10:24:09 2019 +0200 Fixed CS for Camel-restlet --- .../java/org/apache/camel/component/restlet/DefaultRestletBinding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/DefaultRestletBinding.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/DefaultRestletBinding.java index 37c9076..e323b28 100644 --- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/DefaultRestletBinding.java +++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/DefaultRestletBinding.java @@ -38,7 +38,6 @@ import javax.xml.transform.dom.DOMSource; import org.apache.camel.Exchange; import org.apache.camel.Message; import org.apache.camel.RuntimeCamelException; -import org.apache.camel.util.xml.StringSource; import org.apache.camel.TypeConverter; import org.apache.camel.WrappedFile; import org.apache.camel.component.file.GenericFile; @@ -49,6 +48,7 @@ import org.apache.camel.support.MessageHelper; import org.apache.camel.support.ObjectHelper; import org.apache.camel.util.StringHelper; import org.apache.camel.util.URISupport; +import org.apache.camel.util.xml.StringSource; import org.apache.http.NameValuePair; import org.apache.http.client.utils.URLEncodedUtils; import org.restlet.Request;