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 2023/06/09 14:24:05 UTC

[camel] 03/05: (chores) core: remove declared exceptions which are never thrown in public methods in anonymous classes

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 27bb983bd4b4dcf33a3273d66d63f96274f7ef3e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 9 14:48:12 2023 +0200

    (chores) core: remove declared exceptions which are never thrown in public methods in anonymous classes
---
 .../src/main/java/org/apache/camel/support/ResourceHelper.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ResourceHelper.java b/core/camel-support/src/main/java/org/apache/camel/support/ResourceHelper.java
index f0a06f56233..33acc4f15c6 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/ResourceHelper.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/ResourceHelper.java
@@ -301,7 +301,7 @@ public final class ResourceHelper {
             }
 
             @Override
-            public InputStream getInputStream() throws IOException {
+            public InputStream getInputStream() {
                 return new ByteArrayInputStream(content);
             }
         };