This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 60e56c3eca419d9397fee72f223c82a5146aabce Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Mar 17 16:37:51 2020 +0100 Camel-AWS2-IAM: Cleanup --- .../apache/camel/component/aws2/iam/IAMComponentClientRegistryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentClientRegistryTest.java b/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentClientRegistryTest.java index 514641f..bee558e 100644 --- a/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentClientRegistryTest.java +++ b/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentClientRegistryTest.java @@ -40,7 +40,7 @@ public class IAMComponentClientRegistryTest extends CamelTestSupport { IAM2Component component = context.getComponent("aws2-iam", IAM2Component.class); assertThrows(IllegalArgumentException.class, () -> { - IAM2Endpoint endpoint = (IAM2Endpoint)component.createEndpoint("aws2-iam://TestDomain"); + component.createEndpoint("aws2-iam://TestDomain"); }); } }