You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/04/12 17:17:10 UTC
[camel] 01/10: CAMEL-17763: cleaned up unused exceptions in camel-jolt
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3e9e85739737442f32ade746f3880ef38d8dfe73
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Apr 12 16:16:50 2022 +0200
CAMEL-17763: cleaned up unused exceptions in camel-jolt
---
.../test/java/org/apache/camel/component/jolt/JoltDefaultrTest.java | 4 ++--
.../java/org/apache/camel/component/jolt/JoltFirstSampleTest.java | 2 +-
.../src/test/java/org/apache/camel/component/jolt/JoltRemovrTest.java | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltDefaultrTest.java b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltDefaultrTest.java
index 5f085e16a4b..94dce9c9a40 100644
--- a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltDefaultrTest.java
+++ b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltDefaultrTest.java
@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class JoltDefaultrTest extends CamelTestSupport {
@Test
- public void testFirstSampleJolt() throws Exception {
+ public void testFirstSampleJolt() {
Exchange exchange = template.request("direct://start", exchange1 -> {
Map<String, String> body = new HashMap<>();
body.put("Hello", "World");
@@ -47,7 +47,7 @@ public class JoltDefaultrTest extends CamelTestSupport {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
from("direct://start")
diff --git a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltFirstSampleTest.java b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltFirstSampleTest.java
index 6df8638b403..6e5aac86aa0 100644
--- a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltFirstSampleTest.java
+++ b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltFirstSampleTest.java
@@ -50,7 +50,7 @@ public class JoltFirstSampleTest extends CamelTestSupport {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Processor processor = new Processor() {
public void process(Exchange exchange) {
Map<String, String> contextMap = new HashMap<>();
diff --git a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltRemovrTest.java b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltRemovrTest.java
index ec69a4d39ef..f8169e44887 100644
--- a/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltRemovrTest.java
+++ b/components/camel-jolt/src/test/java/org/apache/camel/component/jolt/JoltRemovrTest.java
@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class JoltRemovrTest extends CamelTestSupport {
@Test
- public void testFirstSampleJolt() throws Exception {
+ public void testFirstSampleJolt() {
Exchange exchange = template.request("direct://start", exchange1 -> {
Map<String, String> body = new HashMap<>();
body.put("keepMe", "This should still be in the result");
@@ -47,7 +47,7 @@ public class JoltRemovrTest extends CamelTestSupport {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
from("direct://start")