This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push:
new 59e6536 Fix CS
59e6536 is described below
commit 59e65362878bf0ec01643f39280b2345d752def7
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Thu Jul 18 16:55:33 2019 +0900
Fix CS
---
.../camel/component/undertow/UndertowHttpStreamingTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
index de88152..e01a070 100644
---
a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
+++
b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
@@ -48,8 +48,8 @@ public class UndertowHttpStreamingTest extends
BaseUndertowTest {
mock.expectedBodiesReceived(expectedLength);
Exchange response = template.send(
- "undertow:http://localhost:{{port}}?useStreaming=true",
- e -> produceStream(e));
+ "undertow:http://localhost:{{port}}?useStreaming=true",
+ e -> produceStream(e));
consumeStream(response);
long length = response.getIn().getBody(Long.class).longValue();
@@ -65,8 +65,8 @@ public class UndertowHttpStreamingTest extends
BaseUndertowTest {
mock.expectedBodiesReceived(12);
Exchange response = template.send(
- "undertow:http://localhost:{{port}}?useStreaming=true",
- e -> { e.getIn().setBody("Hello Camel!"); });
+ "undertow:http://localhost:{{port}}?useStreaming=true",
+ e -> e.getIn().setBody("Hello Camel!"));
consumeStream(response);
long length = response.getIn().getBody(Long.class).longValue();