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/11/15 08:22:26 UTC
(camel) 01/02: Regen
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b59eb3c44b99f510fe434af04dd09770020f75d3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Nov 14 14:54:37 2023 +0100
Regen
---
.../java/org/apache/camel/impl/DefaultProducerCacheTest.java | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index bb82f409135..b4c4378b37f 100644
--- a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -232,14 +232,16 @@ public class DefaultProducerCacheTest extends ContextTestSupport {
List<Callable<Boolean>> callables = new ArrayList<>();
- for(int i = 0; i < 500; i++) {
+ for (int i = 0; i < 500; i++) {
int index = i % 3;
callables.add(() -> {
Producer producer = cache.acquireProducer(endpoints.get(index));
- boolean isEqual = producer.getEndpoint().getEndpointUri().equalsIgnoreCase(endpoints.get(index).getEndpointUri());
+ boolean isEqual
+ = producer.getEndpoint().getEndpointUri().equalsIgnoreCase(endpoints.get(index).getEndpointUri());
- if(!isEqual) {
- log.info("Endpoint uri to acquire: " + endpoints.get(index).getEndpointUri() + ", returned producer (uri): " + producer.getEndpoint().getEndpointUri());
+ if (!isEqual) {
+ log.info("Endpoint uri to acquire: " + endpoints.get(index).getEndpointUri() + ", returned producer (uri): "
+ + producer.getEndpoint().getEndpointUri());
}
return isEqual;