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 39adbd2c78fe6cffd0e915dffbfb19f60590c1e2 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Tue Mar 8 12:35:11 2022 +0100 CAMEL-17763: cleaned up unused exceptions in camel-couchdb --- .../java/org/apache/camel/component/couchdb/CouchDbProducerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-couchdb/src/test/java/org/apache/camel/component/couchdb/CouchDbProducerTest.java b/components/camel-couchdb/src/test/java/org/apache/camel/component/couchdb/CouchDbProducerTest.java index 276b62a..4e9ffea 100644 --- a/components/camel-couchdb/src/test/java/org/apache/camel/component/couchdb/CouchDbProducerTest.java +++ b/components/camel-couchdb/src/test/java/org/apache/camel/component/couchdb/CouchDbProducerTest.java @@ -141,7 +141,7 @@ public class CouchDbProducerTest { when(client.save(any())).thenAnswer(new Answer<Response>() { @Override - public Response answer(InvocationOnMock invocation) throws Throwable { + public Response answer(InvocationOnMock invocation) { assertTrue(invocation.getArguments()[0] instanceof JsonElement, invocation.getArguments()[0].getClass() + " but wanted " + JsonElement.class); return new Response();
