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/06/12 15:16:12 UTC

[camel] 02/02: (chores) camel-base-engine: downgrade a protected method to private in a final class

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

commit 49d920d1656c965f4a008b584441f48c252e9725
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jun 12 11:55:18 2023 +0200

    (chores) camel-base-engine: downgrade a protected method to private in a final class
---
 .../main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
index a02ca09b438..7573dacd18a 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
@@ -133,7 +133,7 @@ public final class PooledExchangeFactory extends PrototypeExchangeFactory {
         }
     }
 
-    protected PooledExchange createPooledExchange(Endpoint fromEndpoint, boolean autoRelease) {
+    private PooledExchange createPooledExchange(Endpoint fromEndpoint, boolean autoRelease) {
         PooledExchange answer;
         if (fromEndpoint != null) {
             answer = new DefaultPooledExchange(fromEndpoint);