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 3530e69d45fa5b6ce74d27f3dc543255814cb49f Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Feb 16 13:25:50 2021 +0100 Regen --- .../java/org/apache/camel/processor/errorhandler/RedeliveryPolicy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryPolicy.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryPolicy.java index 233bdc0..dab9f10 100644 --- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryPolicy.java +++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryPolicy.java @@ -230,7 +230,7 @@ public class RedeliveryPolicy implements Cloneable, Serializable { /* * First random determines +/-, second random determines how far to * go in that direction. -cgs - */ + */ Random random = getRandomNumberGenerator(); // NOSONAR double variance = (random.nextBoolean() ? collisionAvoidanceFactor : -collisionAvoidanceFactor) * random.nextDouble();
