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 10:27:45 UTC
[camel] 05/09: CAMEL-17763: cleanup unused exceptions in camel-influxdb
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 9f31efa5d294d475ffdc4c50097f8e44c38487da
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Apr 12 11:09:56 2022 +0200
CAMEL-17763: cleanup unused exceptions in camel-influxdb
---
.../camel/component/influxdb/InfluxDbEnsureDatabaseExistsTest.java | 2 +-
.../apache/camel/component/influxdb/InfluxDbProducerBatchTest.java | 2 +-
.../org/apache/camel/component/influxdb/InfluxDbProducerPingTest.java | 2 +-
.../apache/camel/component/influxdb/InfluxDbProducerQueryTest.java | 4 ++--
.../org/apache/camel/component/influxdb/InfluxDbProducerTest.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbEnsureDatabaseExistsTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbEnsureDatabaseExistsTest.java
index e528aaf3d22..7afd1fd06a2 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbEnsureDatabaseExistsTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbEnsureDatabaseExistsTest.java
@@ -40,7 +40,7 @@ public class InfluxDbEnsureDatabaseExistsTest extends AbstractInfluxDbTest {
MockEndpoint errorEndpoint;
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerBatchTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerBatchTest.java
index 8389ae6e96c..b94fd0e8dea 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerBatchTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerBatchTest.java
@@ -35,7 +35,7 @@ public class InfluxDbProducerBatchTest extends AbstractInfluxDbTest {
MockEndpoint errorEndpoint;
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerPingTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerPingTest.java
index a082d0ee703..2659529f028 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerPingTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerPingTest.java
@@ -31,7 +31,7 @@ public class InfluxDbProducerPingTest extends AbstractInfluxDbTest {
MockEndpoint successEndpoint;
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerQueryTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerQueryTest.java
index d10cbf05b05..1d0e562a3f0 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerQueryTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerQueryTest.java
@@ -36,7 +36,7 @@ public class InfluxDbProducerQueryTest extends AbstractInfluxDbTest {
MockEndpoint errorEndpoint;
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
@@ -48,7 +48,7 @@ public class InfluxDbProducerQueryTest extends AbstractInfluxDbTest {
.process(new Processor() {
@Override
- public void process(Exchange exchange) throws Exception {
+ public void process(Exchange exchange) {
exchange.getIn().setHeader(InfluxDbConstants.INFLUXDB_QUERY, "select * from cpu");
}
})
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
index 8c94e84a817..2edcbb64f85 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
@@ -34,7 +34,7 @@ public class InfluxDbProducerTest extends AbstractInfluxDbTest {
MockEndpoint errorEndpoint;
@Override
- protected RouteBuilder createRouteBuilder() throws Exception {
+ protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {