This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push:
new 843b7cf CAMEL-14432: Polished
843b7cf is described below
commit 843b7cf7d3f858bd2109162a1f34f57c5beec2ce
Author: Claus Ibsen <[email protected]>
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()) {