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 7b6699c364da043ff0dae210182e135de8cca4ed Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon May 27 10:09:09 2019 +0200 CAMEL-13571 - Fixed CS --- .../camel/component/aws/sns/SnsConfiguration.java | 33 +++++++++++----------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/components/camel-aws-sns/src/main/java/org/apache/camel/component/aws/sns/SnsConfiguration.java b/components/camel-aws-sns/src/main/java/org/apache/camel/component/aws/sns/SnsConfiguration.java index 888a755..7690de8 100644 --- a/components/camel-aws-sns/src/main/java/org/apache/camel/component/aws/sns/SnsConfiguration.java +++ b/components/camel-aws-sns/src/main/java/org/apache/camel/component/aws/sns/SnsConfiguration.java @@ -62,13 +62,14 @@ public class SnsConfiguration implements Cloneable { private String messageStructure; @UriParam private String region; - + public String getSubject() { return subject; } /** - * The subject which is used if the message header 'CamelAwsSnsSubject' is not present. + * The subject which is used if the message header 'CamelAwsSnsSubject' is + * not present. */ public void setSubject(String subject) { this.subject = subject; @@ -128,7 +129,7 @@ public class SnsConfiguration implements Cloneable { public void setTopicName(String topicName) { this.topicName = topicName; } - + public String getPolicy() { return policy; } @@ -150,7 +151,7 @@ public class SnsConfiguration implements Cloneable { public void setMessageStructure(String messageStructure) { this.messageStructure = messageStructure; } - + public String getProxyHost() { return proxyHost; } @@ -172,7 +173,7 @@ public class SnsConfiguration implements Cloneable { public void setProxyPort(Integer proxyPort) { this.proxyPort = proxyPort; } - + public String getRegion() { return region; } @@ -216,13 +217,14 @@ public class SnsConfiguration implements Cloneable { public void setSubscribeSNStoSQS(boolean subscribeSNStoSQS) { this.subscribeSNStoSQS = subscribeSNStoSQS; } - + public String getKmsMasterKeyId() { return kmsMasterKeyId; } /** - * The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. + * The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a + * custom CMK. */ public void setKmsMasterKeyId(String kmsMasterKeyId) { this.kmsMasterKeyId = kmsMasterKeyId; @@ -238,28 +240,27 @@ public class SnsConfiguration implements Cloneable { public void setServerSideEncryptionEnabled(boolean serverSideEncryptionEnabled) { this.serverSideEncryptionEnabled = serverSideEncryptionEnabled; } - public boolean isAutoCreateTopic() { - return autoCreateTopic; - } + return autoCreateTopic; + } /** * Setting the autocreation of the topic */ - public void setAutoCreateTopic(boolean autoCreateTopic) { - this.autoCreateTopic = autoCreateTopic; - } - + public void setAutoCreateTopic(boolean autoCreateTopic) { + this.autoCreateTopic = autoCreateTopic; + } + // ************************************************* // // ************************************************* - public SnsConfiguration copy() { + public SnsConfiguration copy() { try { return (SnsConfiguration)super.clone(); } catch (CloneNotSupportedException e) { throw new RuntimeCamelException(e); } } -} \ No newline at end of file +}