You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/17 15:43:07 UTC

[camel] 01/05: Camel-AWS2-ECS: Cleanup

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 d7f170753a36e0dc6609ee4b475505ae330a6c49
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 17 16:36:04 2020 +0100

    Camel-AWS2-ECS: Cleanup
---
 .../camel/component/aws2/ecs/ECS2ComponentClientRegistryTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-ecs/src/test/java/org/apache/camel/component/aws2/ecs/ECS2ComponentClientRegistryTest.java b/components/camel-aws2-ecs/src/test/java/org/apache/camel/component/aws2/ecs/ECS2ComponentClientRegistryTest.java
index 5799572..6e0916f 100644
--- a/components/camel-aws2-ecs/src/test/java/org/apache/camel/component/aws2/ecs/ECS2ComponentClientRegistryTest.java
+++ b/components/camel-aws2-ecs/src/test/java/org/apache/camel/component/aws2/ecs/ECS2ComponentClientRegistryTest.java
@@ -40,7 +40,7 @@ public class ECS2ComponentClientRegistryTest extends CamelTestSupport {
 
         ECS2Component component = context.getComponent("aws2-ecs", ECS2Component.class);
         assertThrows(IllegalArgumentException.class, () -> {
-            ECS2Endpoint endpoint = (ECS2Endpoint)component.createEndpoint("aws-ecs://TestDomain");
+            component.createEndpoint("aws-ecs://TestDomain");
         });
     }
 }