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 5d35d30de02c8bf77c400371d7351fedd94e8bd6 Author: Otavio R. Piske <[email protected]> AuthorDate: Sun Mar 13 14:38:03 2022 +0100 CAMEL-17763: cleaned up unused exceptions in camel-barcode --- .../org/apache/camel/dataformat/barcode/BarcodeUnmarshalTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeUnmarshalTest.java b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeUnmarshalTest.java index 8eedafb..6a6f204 100644 --- a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeUnmarshalTest.java +++ b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeUnmarshalTest.java @@ -37,11 +37,11 @@ import static org.junit.jupiter.api.Assertions.assertEquals; public class BarcodeUnmarshalTest extends BarcodeTestBase { @Test - void testOrientation() throws Exception { + void testOrientation() { Exchange exchange = template.request("direct:code1", new Processor() { @Override - public void process(Exchange exchange) throws Exception { + public void process(Exchange exchange) { exchange.getIn().setBody(MSG); } });
