Skip to content

Commit ab93e34

Browse files
committed
Sync documentation of main branch
1 parent 5575046 commit ab93e34

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

_versions/main/guides/kafka-dev-services.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Note that the Kafka advertised address is automatically configured with the chos
5252
[[configuring-the-image]]
5353
== Configuring the image
5454

55-
Dev Services for Kafka supports https://redpanda.com[Redpanda], https://github/ozangunalp/kafka-native[kafka-native]
55+
Dev Services for Kafka supports https://redpanda.com[Redpanda], https://github.com/ozangunalp/kafka-native[kafka-native]
5656
and https://strimzi.io[Strimzi] (in https://github.com/apache/kafka/blob/trunk/config/kraft/README.md[Kraft] mode) images.
5757

5858
**Redpanda** is a Kafka compatible event streaming platform.

_versions/main/guides/qute-reference.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ In this case, just add `_isolated=false` or `_unisolated` argument to the call s
11901190
===== Arguments
11911191

11921192
Named arguments can be accessed directly in the tag template.
1193-
However, the first argument does not need to define a name and it can be accessed using the `it` alias.
1193+
However, the first argument does not need to define a name, and it can be accessed using the `it` alias.
11941194
Furthermore, if an argument does not have a name defined and the value is a single identifier, such as `foo`, then the name is defaulted to the value identifier, e.g. `{#myTag foo /}` becomes `{#myTag foo=foo /}`.
11951195
In other words, the argument value `foo` is resolved and can be accessed using `{foo}` in the tag template.
11961196

@@ -2044,8 +2044,8 @@ public class ItemResource {
20442044
You can also define a type-safe <<fragments,fragment>> in your Java code.
20452045
A _native static_ method with the name that contains a dollar sign `$` denotes a method that represents a fragment of a type-safe template.
20462046
The name of the fragment is derived from the annotated method name.
2047-
The part before the last occurence of a dollar sign `$` is the method name of the related type-safe template.
2048-
The part after the last occurence of a dollar sign is the fragment identifier.
2047+
The part before the last occurrence of a dollar sign `$` is the method name of the related type-safe template.
2048+
The part after the last occurrence of a dollar sign is the fragment identifier.
20492049
The strategy defined by the relevant `CheckedTemplate#defaultName()` is honored when constructing the defaulted names.
20502050

20512051
.Type-safe Fragment Example
@@ -2200,18 +2200,18 @@ static BigDecimal discountedPrice(Item item) {
22002200
}
22012201
----
22022202

2203-
A special constant - `TemplateExtension#ANY`/`*` - can be used to specify that the extension method matches any name.
2203+
A special constant - `TemplateExtension#ANY` - can be used to specify that the extension method matches any name.
22042204

22052205
.`TemplateExtension#ANY` Example
22062206
[source,java]
22072207
----
2208-
@TemplateExtension(matchName = "*")
2208+
@TemplateExtension(matchName = TemplateExtension.ANY)
22092209
static String itemProperty(Item item, String name) { <1>
22102210
// this method matches {item.foo} if "item" resolves to an object assignable to "Item"
22112211
// the value of the "name" argument is "foo"
22122212
}
22132213
----
2214-
<1> A additional string method parameter is used to pass the actual property name.
2214+
<1> An additional string method parameter is used to pass the actual property name.
22152215

22162216
It's also possible to match the name against a regular expression specified in `matchRegex()`.
22172217

@@ -2224,7 +2224,7 @@ static String itemProperty(Item item, String name) { <1>
22242224
// the value of the "name" argument is "foo" or "bar"
22252225
}
22262226
----
2227-
<1> A additional string method parameter is used to pass the actual property name.
2227+
<1> An additional string method parameter is used to pass the actual property name.
22282228

22292229
Finally, `matchNames()` can be used to specify a collection of matching names.
22302230
An additional string method parameter is mandatory as well.
@@ -2832,7 +2832,7 @@ In the development mode, all files located in `src/main/resources/templates` are
28322832
By default, a template modification results in an application restart that also triggers build-time validations.
28332833

28342834
However, it's possible to use the `quarkus.qute.dev-mode.no-restart-templates` configuration property to specify the templates for which the application is not restarted.
2835-
The configration value is a regular expression that matches the template path relative from the `templates` directory and `/` is used as a path separator.
2835+
The configuration value is a regular expression that matches the template path relative from the `templates` directory and `/` is used as a path separator.
28362836
For example, `quarkus.qute.dev-mode.no-restart-templates=templates/foo.html` matches the template `src/main/resources/templates/foo.html`.
28372837
The matching templates are reloaded and only runtime validations are performed.
28382838

@@ -2938,7 +2938,7 @@ However, the `io.quarkus.qute.i18n.MessageBundle#locale()` can be used to specif
29382938
Additionally, there are two ways to define a localized bundle:
29392939

29402940
1. Create an interface that extends the default interface that is annotated with `@Localized`
2941-
2. Create an UTF-8 encoded file located in the `src/main/resources/messages` directory of an application archive; e.g. `msg_de.properties`.
2941+
2. Create a UTF-8 encoded file located in the `src/main/resources/messages` directory of an application archive; e.g. `msg_de.properties`.
29422942

29432943
TIP: While a localized interface enables easy refactoring, an external file might be more convenient in many situations.
29442944

_versions/main/guides/scheduler-reference.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,11 @@ class Jobs {
382382

383383
In some cases, it might be useful to choose a scheduler implementation used to execute a scheduled method.
384384
However, only one `Scheduler` implementation is used for all scheduled methods by default.
385-
For example, the `quarkus-quartz` extension provides an implementation that supports clustering but it also removes the simple in-memory implementation from the game.
385+
For example, the `quarkus-quartz` extension provides an implementation that supports clustering, but it also removes the simple in-memory implementation from the game.
386386
Now, if clustering is enabled then it's not possible to define a scheduled method that would be executed locally on a single node.
387387
Nevertheless, if you set the `quarkus.scheduler.use-composite-scheduler` config property to `true` then a composite `Scheduler` is used instead.
388388
This means that multiple scheduler implementations are kept running side by side.
389-
Furthermore, it's possible to chose a specific implementation used to execute a scheduled method using `@Scheduled#executeWith()`.
389+
Furthermore, it's possible to choose a specific implementation used to execute a scheduled method using `@Scheduled#executeWith()`.
390390

391391
[source,java]
392392
----

0 commit comments

Comments
 (0)