NIFI-1103: Fixed checkstyle violation

This commit is contained in:
Mark Payne 2015-12-01 15:56:59 -05:00
parent 307189d15b
commit 9dafe2db6a
1 changed files with 3 additions and 2 deletions

View File

@ -105,9 +105,10 @@ public class GetSQS extends AbstractSQSProcessor {
public static final PropertyDescriptor RECEIVE_MSG_WAIT_TIME = new PropertyDescriptor.Builder() public static final PropertyDescriptor RECEIVE_MSG_WAIT_TIME = new PropertyDescriptor.Builder()
.name("Receive Message Wait Time") .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) .expressionLanguageSupported(false)
.required(false) .required(true)
.defaultValue("0 sec") .defaultValue("0 sec")
.addValidator(StandardValidators.createTimePeriodValidator(0, TimeUnit.SECONDS, 20, TimeUnit.SECONDS)) // 20 seconds is the maximum allowed by SQS .addValidator(StandardValidators.createTimePeriodValidator(0, TimeUnit.SECONDS, 20, TimeUnit.SECONDS)) // 20 seconds is the maximum allowed by SQS
.build(); .build();