chibenwa commented on a change in pull request #841:
URL: https://github.com/apache/james-project/pull/841#discussion_r783568674



##########
File path: 
backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java
##########
@@ -488,6 +492,12 @@ public Builder hosts(Collection<Host> hosts) {
             return this;
         }
 
+        public Builder queueTTL(long ttl) {
+            Preconditions.checkArgument(ttl > 0, String.format("'%s' must be 
strictly positive", QUEUE_TTL));

Review comment:
       ```suggestion
               Preconditions.checkArgument(ttl > 0, "'%s' must be strictly 
positive", QUEUE_TTL);
   ```
   
   String formatting is built in checkArgument




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to