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 f47fb69380159f505b6e60154107343dc6d9cc94 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Mar 30 09:14:26 2021 +0200 Fixed CS --- .../java/org/apache/camel/component/aws2/lambda/Lambda2Producer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-aws/camel-aws2-lambda/src/main/java/org/apache/camel/component/aws2/lambda/Lambda2Producer.java b/components/camel-aws/camel-aws2-lambda/src/main/java/org/apache/camel/component/aws2/lambda/Lambda2Producer.java index 04b749a..8f42fad 100644 --- a/components/camel-aws/camel-aws2-lambda/src/main/java/org/apache/camel/component/aws2/lambda/Lambda2Producer.java +++ b/components/camel-aws/camel-aws2-lambda/src/main/java/org/apache/camel/component/aws2/lambda/Lambda2Producer.java @@ -152,8 +152,8 @@ public class Lambda2Producer extends DefaultProducer { } private void getFunction(LambdaClient lambdaClient, Exchange exchange) throws InvalidPayloadException { - GetFunctionRequest request = null; - GetFunctionResponse result; + GetFunctionRequest request = null; + GetFunctionResponse result; if (getConfiguration().isPojoRequest()) { request = exchange.getIn().getMandatoryBody(GetFunctionRequest.class); } else {