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 29b37e548e183a802c378d0d6ae743bab24f8726 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Mar 17 16:02:49 2020 +0100 Camel-AWS2-EC2: More Cleanup --- .../apache/camel/component/aws2/ec2/EC2ComponentClientRegistryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-aws2-ec2/src/test/java/org/apache/camel/component/aws2/ec2/EC2ComponentClientRegistryTest.java b/components/camel-aws2-ec2/src/test/java/org/apache/camel/component/aws2/ec2/EC2ComponentClientRegistryTest.java index 0c5f311..147029c 100644 --- a/components/camel-aws2-ec2/src/test/java/org/apache/camel/component/aws2/ec2/EC2ComponentClientRegistryTest.java +++ b/components/camel-aws2-ec2/src/test/java/org/apache/camel/component/aws2/ec2/EC2ComponentClientRegistryTest.java @@ -40,7 +40,7 @@ public class EC2ComponentClientRegistryTest extends CamelTestSupport { AWS2EC2Component component = context.getComponent("aws2-ec2", AWS2EC2Component.class); assertThrows(IllegalArgumentException.class, () -> { - AWS2EC2Endpoint endpoint = (AWS2EC2Endpoint)component.createEndpoint("aws-ec2://TestDomain"); + component.createEndpoint("aws-ec2://TestDomain"); }); } }