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 16:38:15 UTC

[camel] 02/03: Camel-AWS2-Lambda: More 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 c0179c725441a82a2436f32d53df9990c8027f84
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 17 17:33:48 2020 +0100

    Camel-AWS2-Lambda: More Cleanup
---
 .../camel/component/aws2/lambda/LambdaComponentClientRegistryTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/LambdaComponentClientRegistryTest.java b/components/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/LambdaComponentClientRegistryTest.java
index c71d450..42f853f 100644
--- a/components/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/LambdaComponentClientRegistryTest.java
+++ b/components/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/LambdaComponentClientRegistryTest.java
@@ -43,7 +43,7 @@ public class LambdaComponentClientRegistryTest extends CamelTestSupport {
 
         Lambda2Component component = context.getComponent("aws2-lambda", Lambda2Component.class);
         assertThrows(PropertyBindingException.class, () -> {
-            Lambda2Endpoint endpoint = (Lambda2Endpoint)component
+            component
                 .createEndpoint("aws2-lambda://myFunction?operation=getFunction&awsLambdaClient=#awsLambdaClient&accessKey=xxx&secretKey=yyy");
         });
     }