You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/01/24 08:18:32 UTC
[camel] 02/02: CAMEL-14432: Polished
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.25.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d396c1075fb955b480c92d98f43b112571efb480
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 24 06:04:33 2020 +0100
CAMEL-14432: Polished
---
camel-core/src/main/java/org/apache/camel/impl/ProducerCache.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/camel-core/src/main/java/org/apache/camel/impl/ProducerCache.java b/camel-core/src/main/java/org/apache/camel/impl/ProducerCache.java
index 36aa1cc..a2e3334 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/ProducerCache.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/ProducerCache.java
@@ -353,7 +353,7 @@ public class ProducerCache extends ServiceSupport {
T answer = null;
// get the producer and we do not mind if its pooled as we can handle returning it back to the pool
- Producer producer = acquireProducer(endpoint);
+ Producer producer = acquireProducer(endpoint);
if (producer == null) {
if (isStopped()) {
@@ -401,7 +401,7 @@ public class ProducerCache extends ServiceSupport {
Producer target;
try {
// get the producer and we do not mind if its pooled as we can handle returning it back to the pool
- target = target = acquireProducer(endpoint);
+ target = acquireProducer(endpoint);
if (target == null) {
if (isStopped()) {