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/08 14:47:07 UTC

[camel] 02/09: CAMEL-17763: cleanup unused exceptions in camel-fop

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 bba698d51b6a88858a74c6a845be4c223354c67d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Apr 8 15:36:53 2022 +0200

    CAMEL-17763: cleanup unused exceptions in camel-fop
---
 .../test/java/org/apache/camel/component/fop/FopComponentTest.java    | 2 +-
 .../src/test/java/org/apache/camel/component/fop/FopEndpointTest.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopComponentTest.java b/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopComponentTest.java
index 3286ff9782e..7814aa9a55c 100644
--- a/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopComponentTest.java
+++ b/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopComponentTest.java
@@ -46,7 +46,7 @@ public class FopComponentTest extends CamelTestSupport {
 
     @Override
     @BeforeEach
-    public void setUp() throws Exception {
+    public void setUp() {
         deleteDirectory("target/data");
 
         try {
diff --git a/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopEndpointTest.java b/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopEndpointTest.java
index 6ec199182fc..6d4a6c95a68 100644
--- a/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopEndpointTest.java
+++ b/components/camel-fop/src/test/java/org/apache/camel/component/fop/FopEndpointTest.java
@@ -62,7 +62,7 @@ public class FopEndpointTest extends CamelTestSupport {
     }
 
     @Test
-    public void specifyCustomUserConfigurationFile() throws Exception {
+    public void specifyCustomUserConfigurationFile() {
         if (!canTest()) {
             // cannot run on CI
             return;
@@ -76,7 +76,7 @@ public class FopEndpointTest extends CamelTestSupport {
     }
 
     @Test
-    public void specifyCustomUserConfigurationFileClasspath() throws Exception {
+    public void specifyCustomUserConfigurationFileClasspath() {
         if (!canTest()) {
             // cannot run on CI
             return;