You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/10/07 08:06:07 UTC
[camel-quarkus] branch master updated: chore: fix checkstyle
violations
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 99df4b7 chore: fix checkstyle violations
99df4b7 is described below
commit 99df4b7bd9b4981a05a5d19ea2dfb2a5bae712a6
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Mon Oct 7 10:05:51 2019 +0200
chore: fix checkstyle violations
---
.../apache/camel/quarkus/core/deployment/BuildProcessor.java | 3 +--
.../apache/camel/quarkus/component/netty/http/CamelTest.java | 12 +++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java
index 63b8f71..01928d1 100644
--- a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java
+++ b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java
@@ -89,8 +89,7 @@ class BuildProcessor {
si.name,
recorderContext.classProxy(si.type)
);
- }
- );
+ });
for (CamelBeanBuildItem item : registryItems) {
LOGGER.debug("Binding bean with name: {}, type {}", item.getName(), item.getType());
diff --git a/integration-tests/netty-http/src/test/java/org/apache/camel/quarkus/component/netty/http/CamelTest.java b/integration-tests/netty-http/src/test/java/org/apache/camel/quarkus/component/netty/http/CamelTest.java
index 35b888b..e98bcfa 100644
--- a/integration-tests/netty-http/src/test/java/org/apache/camel/quarkus/component/netty/http/CamelTest.java
+++ b/integration-tests/netty-http/src/test/java/org/apache/camel/quarkus/component/netty/http/CamelTest.java
@@ -16,26 +16,28 @@
*/
package org.apache.camel.quarkus.component.netty.http;
-import static org.hamcrest.Matchers.is;
import java.net.URI;
-import org.junit.jupiter.api.Test;
-
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
+import org.junit.jupiter.api.Test;
+
+import static org.hamcrest.Matchers.is;
+
@QuarkusTest
public class CamelTest {
@Test
public void testNetty4Http() throws Exception {
- RestAssured.when().get(new URI("http://localhost:8999/foo")).then().body(is("Netty Hello World"));
+ RestAssured.when().get(new URI("http://localhost:8999/foo"))
+ .then().body(is("Netty Hello World"));
}
@Test
public void netty4HttpProducer() throws Exception {
- RestAssured.when().get(new URI("http://localhost:8999/producer")) //
+ RestAssured.when().get(new URI("http://localhost:8999/producer"))
.then().statusCode(200).body(is("Netty Hello World"));
}