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 08:36:25 UTC

[camel] 05/08: CAMEL-17763: cleaned up unused exceptions in camel-openstack

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 d1895acf2cfb8ee9a0d0d3bcc0dbebea55463dae
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Apr 12 18:13:34 2022 +0200

    CAMEL-17763: cleaned up unused exceptions in camel-openstack
---
 .../apache/camel/component/openstack/AbstractProducerTestSupport.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/components/camel-openstack/src/test/java/org/apache/camel/component/openstack/AbstractProducerTestSupport.java b/components/camel-openstack/src/test/java/org/apache/camel/component/openstack/AbstractProducerTestSupport.java
index b14dc8b25da..ab17df08455 100644
--- a/components/camel-openstack/src/test/java/org/apache/camel/component/openstack/AbstractProducerTestSupport.java
+++ b/components/camel-openstack/src/test/java/org/apache/camel/component/openstack/AbstractProducerTestSupport.java
@@ -16,8 +16,6 @@
  */
 package org.apache.camel.component.openstack;
 
-import java.io.IOException;
-
 import org.apache.camel.Exchange;
 import org.apache.camel.ExtendedCamelContext;
 import org.apache.camel.Message;
@@ -49,7 +47,7 @@ public abstract class AbstractProducerTestSupport {
     protected Producer producer;
 
     @BeforeEach
-    public void before() throws IOException {
+    public void before() {
         msg = new DefaultMessage(camelContext);
         when(exchange.getIn()).thenReturn(msg);
         when(camelContext.adapt(ExtendedCamelContext.class)).thenReturn(camelContext);