Skip to content

Commit

Permalink
Fix typos and a forgot backtick in the doc files
Browse files Browse the repository at this point in the history
(cherry picked from commit 3a225aa)
  • Loading branch information
AnastasiiaL authored and gsmet committed Oct 26, 2023
1 parent 3c93791 commit 48cbe3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/cassandra.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ TIP: `@DaoFactory` method names are irrelevant.
`@DaoFactory` methods should return beans of the following types:

- Any `@Dao`-annotated interface, e.g. `FruitDao`;
- A `CompletationStage` of any `@Dao`-annotated interface, e.g. `CompletionStage<FruitDao>`.
- A `CompletionStage` of any `@Dao`-annotated interface, e.g. `CompletionStage<FruitDao>`.
- A `Uni` of any `@Dao`-annotated interface, e.g. `Uni<FruitDao>`.

TIP: `Uni` is a type from the Mutiny library, which is the reactive programming library used by
Expand Down Expand Up @@ -254,7 +254,7 @@ link:https://javadoc.io/doc/com.datastax.oss.quarkus/cassandra-quarkus-client/la
bean: this application-scoped, singleton bean is your main entry point to the Cassandra client; it
is a specialized Cassandra driver session instance with a few methods tailored especially for
Quarkus. Read its javadocs carefully!
- You can also inject `CompletationStage<QuarkusCqlSession>` or `Uni<QuarkusCqlSession>`.
- You can also inject `CompletionStage<QuarkusCqlSession>` or `Uni<QuarkusCqlSession>`.

In our example, both `FruitMapper` and `FruitDao` could be injected anywhere. We chose to inject
`FruitDao` in `FruitService`.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/cdi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ This is very useful because your application fails fast whenever the container i

[TIP]
====
Your can use programmatic lookup via `jakarta.enterprise.inject.Instance` to resolve ambiguities at runtime and even iterate over all beans implementing a given type:
You can use programmatic lookup via `jakarta.enterprise.inject.Instance` to resolve ambiguities at runtime and even iterate over all beans implementing a given type:
[source,java]
----
Expand Down Expand Up @@ -204,7 +204,7 @@ when a method is invoked upon an injected instance for the first time.
Furthermore, client proxies only delegate method invocations and thus you should never read/write fields of an injected `@ApplicationScoped` bean directly.
You can read/write fields of an injected `@Singleton` safely.
`@Singleton` should have a slightly better performance because the is no indirection (no proxy that delegates to the current instance from the context).
`@Singleton` should have a slightly better performance because there is no indirection (no proxy that delegates to the current instance from the context).
On the other hand, you cannot mock `@Singleton` beans using <<getting-started-testing.adoc#quarkus_mock,QuarkusMock>>.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/deploying-to-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ type: kubernetes.io/dockerconfigjson
----

And also `test-quarkus-app-pull-secret is added to the `imagePullSecrets` list.
And also `test-quarkus-app-pull-secret` is added to the `imagePullSecrets` list.


=== Labels and Annotations
Expand Down Expand Up @@ -791,7 +791,7 @@ quarkus.kubernetes.ingress.rules.1.path=/dev
quarkus.kubernetes.ingress.rules.1.path-type=ImplementationSpecific
# by default, path type is Prefix
# Exmple to add a new rule that use another service binding
# Example to add a new rule that use another service binding
quarkus.kubernetes.ingress.rules.2.host=alt.svc.url
quarkus.kubernetes.ingress.rules.2.path=/ea
quarkus.kubernetes.ingress.rules.2.service-name=updated-service
Expand Down

0 comments on commit 48cbe3f

Please sign in to comment.