NIFI-1103: Fixed checkstyle violation

Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/9dafe2db
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/9dafe2db
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/9dafe2db

Branch: refs/heads/master
Commit: 9dafe2db6ac17d4475ed61315a145cd419d8e1ef
Parents: 307189d
Author: Mark Payne <marka...@hotmail.com>
Authored: Tue Dec 1 15:56:59 2015 -0500
Committer: Mark Payne <marka...@hotmail.com>
Committed: Tue Dec 1 15:56:59 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/9dafe2db/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java
 
b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java
index b73dd39..f395e67 100644
--- 
a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java
+++ 
b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/GetSQS.java
@@ -105,9 +105,10 @@ public class GetSQS extends AbstractSQSProcessor {
 
     public static final PropertyDescriptor RECEIVE_MSG_WAIT_TIME = new 
PropertyDescriptor.Builder()
             .name("Receive Message Wait Time")
-            .description("The maximum amount of time to wait on a long polling 
receive call. Setting this to a value of 1 second or greater will reduce the 
number of SQS requests and decrease fetch latency at the cost of a constantly 
active thread.")
+            .description("The maximum amount of time to wait on a long polling 
receive call. Setting this to a value of 1 second or greater will "
+                + "reduce the number of SQS requests and decrease fetch 
latency at the cost of a constantly active thread.")
             .expressionLanguageSupported(false)
-            .required(false)
+            .required(true)
             .defaultValue("0 sec")
             .addValidator(StandardValidators.createTimePeriodValidator(0, 
TimeUnit.SECONDS, 20, TimeUnit.SECONDS))  // 20 seconds is the maximum allowed 
by SQS
             .build();

Reply via email to