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
The following commit(s) were added to refs/heads/master by this push: new 66141c0 Camel-AWS-s3: Fixed CS 66141c0 is described below commit 66141c0c731acd303efc8df7f40ba4b88e0691d1 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Jul 21 07:37:56 2020 +0200 Camel-AWS-s3: Fixed CS --- .../apache/camel/component/aws/s3/S3Configuration.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java b/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java index ba19c6e..0a577bc 100644 --- a/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java +++ b/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java @@ -521,17 +521,19 @@ public class S3Configuration implements Cloneable { } public boolean isAutoDiscoverClient() { - return autoDiscoverClient; - } + return autoDiscoverClient; + } /** - * Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. + * Setting the autoDiscoverClient mechanism, if true, the component will + * look for a client instance in the registry automatically otherwise it + * will skip that checking. */ - public void setAutoDiscoverClient(boolean autoDiscoverClient) { - this.autoDiscoverClient = autoDiscoverClient; - } + public void setAutoDiscoverClient(boolean autoDiscoverClient) { + this.autoDiscoverClient = autoDiscoverClient; + } - public boolean hasProxyConfiguration() { + public boolean hasProxyConfiguration() { return ObjectHelper.isNotEmpty(getProxyHost()) && ObjectHelper.isNotEmpty(getProxyPort()); }