This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 53e406ee244ed0f767235cfe08498ac9afccbf13 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Nov 13 12:34:31 2021 +0100 Polished --- core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java | 2 +- .../java/org/apache/camel/impl/engine/PrototypeExchangeFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java b/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java index 83a5e04..3ecaf4c 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java @@ -31,7 +31,7 @@ import org.apache.camel.NonManagedService; * contract as we only want to control the created {@link Exchange} that comes into Camel via {@link Consumer} or * {@link org.apache.camel.PollingConsumer}. * <p/> - * The factory is pluggable which allows to use different strategies. The default factory will create a new + * The factory is pluggable which allows using different strategies. The default factory will create a new * {@link Exchange} instance, and the pooled factory will pool and reuse exchanges. * * @see ProcessorExchangeFactory diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PrototypeExchangeFactory.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PrototypeExchangeFactory.java index e37be97..63215d3 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PrototypeExchangeFactory.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PrototypeExchangeFactory.java @@ -51,7 +51,7 @@ public class PrototypeExchangeFactory extends PooledObjectFactorySupport<Exchang protected void doBuild() throws Exception { super.doBuild(); this.exchangeFactoryManager = camelContext.adapt(ExtendedCamelContext.class).getExchangeFactoryManager(); - // force to create and load the class during build time so the JVM does not + // force creating and load the class during build time so the JVM does not // load the class on first exchange to be created DefaultExchange dummy = new DefaultExchange(camelContext); // force message init to load classes