You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/04/03 17:40:20 UTC

[camel] branch main updated: (chores) camel-core: fixed unnecessary string formatting

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 40b0312d173 (chores) camel-core: fixed unnecessary string formatting
40b0312d173 is described below

commit 40b0312d173f30f6973c3157800c509bd24095e7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 3 18:05:00 2023 +0200

    (chores) camel-core: fixed unnecessary string formatting
---
 .../test/java/org/apache/camel/CamelParallelExecutionStrategy.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/CamelParallelExecutionStrategy.java b/core/camel-core/src/test/java/org/apache/camel/CamelParallelExecutionStrategy.java
index a5ed6e32d08..795083ad8a0 100644
--- a/core/camel-core/src/test/java/org/apache/camel/CamelParallelExecutionStrategy.java
+++ b/core/camel-core/src/test/java/org/apache/camel/CamelParallelExecutionStrategy.java
@@ -90,8 +90,8 @@ public class CamelParallelExecutionStrategy implements ParallelExecutionConfigur
                 Integer::valueOf);
         this.maxPoolSize = poolSize.orElseGet(() -> nbParallelExecutions * 256);
 
-        LOG.info(String.format("Using custom JUnit parallel execution with parallelism=%d and maxPoolSize=%d",
-                nbParallelExecutions, maxPoolSize));
+        LOG.info("Using custom JUnit parallel execution with parallelism={} and maxPoolSize={}",
+                nbParallelExecutions, maxPoolSize);
 
         return new CamelParallelExecutionConfiguration();
     }