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 0878dac2c48a1de517a07aaf09ce2f9cd6a2e1bb Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Jul 21 07:51:05 2020 +0200 Camel-AWS2-S3: Fixed CS --- .../apache/camel/component/aws2/s3/S3ComponentConfigurationTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/S3ComponentConfigurationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/S3ComponentConfigurationTest.java index 13096e4..f0155af 100644 --- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/S3ComponentConfigurationTest.java +++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/S3ComponentConfigurationTest.java @@ -18,7 +18,6 @@ package org.apache.camel.component.aws2.s3; import org.apache.camel.test.junit5.CamelTestSupport; import org.junit.jupiter.api.Test; - import software.amazon.awssdk.services.s3.S3Client; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -39,7 +38,7 @@ public class S3ComponentConfigurationTest extends CamelTestSupport { @Test public void createEndpointWithCredentialsAndClientExistInRegistry() throws Exception { - S3Client client = S3Client.builder().build(); + S3Client client = S3Client.builder().build(); context.getRegistry().bind("amazonS3Client", client); AWS2S3Component component = context.getComponent("aws2-s3", AWS2S3Component.class); AWS2S3Endpoint endpoint = (AWS2S3Endpoint)component.createEndpoint("aws2-s3://MyBucket?accessKey=RAW(XXX)&secretKey=RAW(XXX)&autoDiscoverClient=false"); @@ -50,7 +49,7 @@ public class S3ComponentConfigurationTest extends CamelTestSupport { @Test public void createEndpointWithCredentialsAndClientExistInRegistryWithAutodiscover() throws Exception { - S3Client client = S3Client.builder().build(); + S3Client client = S3Client.builder().build(); context.getRegistry().bind("amazonS3Client", client); AWS2S3Component component = context.getComponent("aws2-s3", AWS2S3Component.class); AWS2S3Endpoint endpoint = (AWS2S3Endpoint)component.createEndpoint("aws2-s3://MyBucket?accessKey=RAW(XXX)&secretKey=RAW(XXX)");