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/13 14:46:52 UTC
[camel] 01/12: CAMEL-17763: cleaned up unused exceptions in camel-univocity-parsers
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 7524dd6f71baedd743f3ed00e004bd024823f1a9
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Apr 13 12:25:57 2022 +0200
CAMEL-17763: cleaned up unused exceptions in camel-univocity-parsers
---
.../camel/dataformat/univocity/UniVocityCsvDataFormatMarshalTest.java | 4 ++--
.../dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java | 4 ++--
.../dataformat/univocity/UniVocityFixedDataFormatMarshalTest.java | 4 ++--
.../dataformat/univocity/UniVocityFixedDataFormatUnmarshalTest.java | 4 ++--
.../camel/dataformat/univocity/UniVocityTsvDataFormatMarshalTest.java | 4 ++--
.../dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatMarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatMarshalTest.java
index 3a8afd1eb5a..e9cc0ffb21a 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatMarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatMarshalTest.java
@@ -118,7 +118,7 @@ public final class UniVocityCsvDataFormatMarshalTest extends CamelTestSupport {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default writing of CSV
@@ -139,7 +139,7 @@ public final class UniVocityCsvDataFormatMarshalTest extends CamelTestSupport {
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).marshal(test.getValue()).convertBodyTo(String.class).to("mock:result");
}
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
index 8ebb85506a9..d595aad63f9 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
@@ -152,7 +152,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default reading of CSV
@@ -183,7 +183,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).unmarshal(test.getValue()).to("mock:result");
}
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatMarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatMarshalTest.java
index ed1fb1ff513..4d097ba3f2f 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatMarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatMarshalTest.java
@@ -118,7 +118,7 @@ public final class UniVocityFixedDataFormatMarshalTest extends CamelTestSupport
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default writing of fixed-width
@@ -139,7 +139,7 @@ public final class UniVocityFixedDataFormatMarshalTest extends CamelTestSupport
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).marshal(test.getValue()).convertBodyTo(String.class).to("mock:result");
}
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatUnmarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatUnmarshalTest.java
index b65d0fb6e09..ed70d7a0a87 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedDataFormatUnmarshalTest.java
@@ -151,7 +151,7 @@ public final class UniVocityFixedDataFormatUnmarshalTest extends CamelTestSuppor
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default reading of fixed-width
@@ -185,7 +185,7 @@ public final class UniVocityFixedDataFormatUnmarshalTest extends CamelTestSuppor
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).unmarshal(test.getValue()).to("mock:result");
}
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatMarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatMarshalTest.java
index 750e6658252..090ce3134b7 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatMarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatMarshalTest.java
@@ -118,7 +118,7 @@ public final class UniVocityTsvDataFormatMarshalTest extends CamelTestSupport {
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default writing of TSV
@@ -135,7 +135,7 @@ public final class UniVocityTsvDataFormatMarshalTest extends CamelTestSupport {
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).marshal(test.getValue()).convertBodyTo(String.class).to("mock:result");
}
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
index e680b08eba4..870b022ca62 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
@@ -151,7 +151,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
}
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
final Map<String, DataFormat> tests = new HashMap<>();
// Default reading of TSV
@@ -181,7 +181,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
return new RouteBuilder() {
@Override
- public void configure() throws Exception {
+ public void configure() {
for (Map.Entry<String, DataFormat> test : tests.entrySet()) {
from("direct:" + test.getKey()).unmarshal(test.getValue()).to("mock:result");
}