This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push: new 8644281 Fixed typos 8644281 is described below commit 864428165e1ff2939f0c607c17cf70ae0db47cdc Author: aldettinger <aldettin...@gmail.com> AuthorDate: Wed Aug 12 14:52:49 2020 +0200 Fixed typos --- docs/modules/ROOT/pages/user-guide/bootstrap.adoc | 2 +- docs/modules/ROOT/pages/user-guide/cdi.adoc | 2 +- .../quarkus/core/deployment/spi/CamelBootstrapCompletedBuildItem.java | 2 +- .../java/org/apache/camel/quarkus/main/events/BeforeInitialize.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/user-guide/bootstrap.adoc b/docs/modules/ROOT/pages/user-guide/bootstrap.adoc index 241b40b..5eefc32 100644 --- a/docs/modules/ROOT/pages/user-guide/bootstrap.adoc +++ b/docs/modules/ROOT/pages/user-guide/bootstrap.adoc @@ -41,7 +41,7 @@ public class Configurations { In Camel Quarkus the Camel components are discovered during the augmentation phase, producing a new component as shown in the example above would invalidate any optimization that may have been made. -As a better alternative you can use `@Inject` to obtain an instance of a component automatically created by Camel or you can observe one of the https://github.com/apache/camel-quarkus/tree/master/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/events[events] fired by Camel Quarkus as shown in the the following example, in which we use `@Observes` to be notified about components added to the Camel Context: +As a better alternative you can use `@Inject` to obtain an instance of a component automatically created by Camel or you can observe one of the https://github.com/apache/camel-quarkus/tree/master/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/events[events] fired by Camel Quarkus as shown in the following example, in which we use `@Observes` to be notified about components added to the Camel Context: [source,java] ---- diff --git a/docs/modules/ROOT/pages/user-guide/cdi.adoc b/docs/modules/ROOT/pages/user-guide/cdi.adoc index 15ed003..285637f 100644 --- a/docs/modules/ROOT/pages/user-guide/cdi.adoc +++ b/docs/modules/ROOT/pages/user-guide/cdi.adoc @@ -46,7 +46,7 @@ TIP: Please refer to the https://quarkus.io/blog/quarkus-dependency-injection[Qu === Refer to a bean by name -To refer to a bean in a route definition by name, just annotate the the bean with `@Named("myNamedBean")` and +To refer to a bean in a route definition by name, just annotate the bean with `@Named("myNamedBean")` and `@ApplicationScoped` (or some other https://quarkus.io/guides/cdi-reference#supported_features[supported] scope). The `@RegisterForReflection` annotation is important for the native mode. diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/spi/CamelBootstrapCompletedBuildItem.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/spi/CamelBootstrapCompletedBuildItem.java index 0ac582e..d576507 100644 --- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/spi/CamelBootstrapCompletedBuildItem.java +++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/spi/CamelBootstrapCompletedBuildItem.java @@ -19,7 +19,7 @@ package org.apache.camel.quarkus.core.deployment.spi; import io.quarkus.builder.item.EmptyBuildItem; /** - * A build item that does not carry any data but it is used to signal that all the the bootstrap steps have been + * A build item that does not carry any data but it is used to signal that all the bootstrap steps have been * completed. */ public final class CamelBootstrapCompletedBuildItem extends EmptyBuildItem { diff --git a/extensions-core/main/runtime/src/main/java/org/apache/camel/quarkus/main/events/BeforeInitialize.java b/extensions-core/main/runtime/src/main/java/org/apache/camel/quarkus/main/events/BeforeInitialize.java index 2ffc05d..4dc59c7 100644 --- a/extensions-core/main/runtime/src/main/java/org/apache/camel/quarkus/main/events/BeforeInitialize.java +++ b/extensions-core/main/runtime/src/main/java/org/apache/camel/quarkus/main/events/BeforeInitialize.java @@ -19,7 +19,7 @@ package org.apache.camel.quarkus.main.events; import org.apache.camel.main.BaseMainSupport; /** - * Event fired after the the CamelContext has been created and before the + * Event fired after the CamelContext has been created and before the * auto-configured step starts. */ public class BeforeInitialize extends MainEvent {