Skip to content

Commit 41e28dc

Browse files
Fix plural words rendering in docs (#10618)
* Fix plural words rendering in docs Signed-off-by: Tran Ngoc Nhan <[email protected]> * Revert hyphen Signed-off-by: Tran Ngoc Nhan <[email protected]> --------- Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 46d924f commit 41e28dc

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

src/reference/antora/modules/ROOT/pages/aggregator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ If `send-partial-result-on-expiry` is `true`, existing messages in the (partial)
697697
Otherwise, it is discarded.
698698

699699
There is a difference between `groupTimeout` behavior and `MessageGroupStoreReaper` (see xref:aggregator.adoc#aggregator-xml[Configuring an Aggregator with XML]).
700-
The reaper initiates forced completion for all `MessageGroup` s in the `MessageGroupStore` periodically.
700+
The reaper initiates forced completion for all ``MessageGroup``s in the `MessageGroupStore` periodically.
701701
The `groupTimeout` does it for each `MessageGroup` individually if a new message does not arrive during the `groupTimeout`.
702702
Also, the reaper can be used to remove empty groups (those retained in order to discard late messages if `expire-groups-upon-completion` is false).
703703

src/reference/antora/modules/ROOT/pages/changes-5.0-5.1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ See xref:metrics.adoc#micrometer-integration[Micrometer Integration] for more in
224224
[[x51.-integration-graph]]
225225
== Integration Graph Customization
226226

227-
It is now possible to add additional properties to the `IntegrationNode` s via `Function<NamedComponent, Map<String, Object>> additionalPropertiesCallback` on the `IntegrationGraphServer`.
227+
It is now possible to add additional properties to the ``IntegrationNode``s via `Function<NamedComponent, Map<String, Object>> additionalPropertiesCallback` on the `IntegrationGraphServer`.
228228
See xref:graph.adoc#integration-graph[Integration Graph] for more information.
229229

230230
[[x51.-global-properties]]

src/reference/antora/modules/ROOT/pages/changes-5.1-5.2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ See xref:control-bus.adoc[Control Bus] for more information.
7171
The `Function<MessageGroup, Map<String, Object>>` strategy has been introduced for the aggregator component to merge and compute headers for output messages.
7272
See xref:aggregator.adoc#aggregator-api[Aggregator Programming Model] for more information.
7373

74-
All the `MessageHandlingException` s thrown in the framework, includes now a bean resource and source for back tracking a configuration part in case no end-user code involved.
74+
All the ``MessageHandlingException``s thrown in the framework, includes now a bean resource and source for back tracking a configuration part in case no end-user code involved.
7575
See xref:scatter-gather.adoc#scatter-gather-error-handling[Error Handling] for more information.
7676

7777
For better end-user experience, Java DSL now provides a configurer variant for starting flow with a gateway interface.

src/reference/antora/modules/ROOT/pages/codec.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ NOTE: This class uses `ClassUtils.findClosestMatch` to select the appropriate co
117117
When multiple codecs match an object type, `ClassUtils.findClosestMatch` offers the `failOnTie` option.
118118
If `failOnTie` is `false`, it will return any one of the matching codecs.
119119
If `failOnTie` is `true` and multiple codecs match, it will throw an `IllegalStateException`.
120-
CompositeCodec` sets `failOnTie` to `true`, so if multiple codecs match, an `IllegalStateException` is thrown.
120+
`CompositeCodec` sets `failOnTie` to `true`, so if multiple codecs match, an `IllegalStateException` is thrown.
121121

122122
[[customizing-kryo]]
123123
=== Customizing Kryo

src/reference/antora/modules/ROOT/pages/configuration/annotations.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public class AnnotationService {
174174

175175
The `@Poller` annotation provides only simple `PollerMetadata` options.
176176
You can configure the `@Poller` annotation's attributes (`maxMessagesPerPoll`, `fixedDelay`, `fixedRate`, and `cron`) with property placeholders.
177-
Also, starting with version 5.1, the `receiveTimeout` option for `PollingConsumer` s is also provided.
177+
Also, starting with version 5.1, the `receiveTimeout` option for ``PollingConsumer``s is also provided.
178178
If it is necessary to provide more polling options (for example, `transaction`, `advice-chain`, `error-handler`, and others), you should configure the `PollerMetadata` as a generic bean and use its bean name as the `@Poller` 's `value` attribute.
179179
In this case, no other attributes are allowed (they must be specified on the `PollerMetadata` bean).
180180
Note, if `inputChannel` is a `PollableChannel` and no `@Poller` is configured, the default `PollerMetadata` is used (if it is present in the application context).

src/reference/antora/modules/ROOT/pages/dsl/java-flows.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Starting with version 5.0.6, the generated bean names for the components in an `
3737
For example, the `ConsumerEndpointFactoryBean` for the `.transform("Hello "::concat)` in the preceding sample results in a bean name of `lambdaFlow.o.s.i.config.ConsumerEndpointFactoryBean#0`.
3838
(The `o.s.i` is a shortened from `org.springframework.integration` to fit on the page.)
3939
The `Transformer` implementation bean for that endpoint has a bean name of `lambdaFlow.transformer#0` (starting with version 5.1), where instead of a fully qualified name of the `MethodInvokingTransformer` class, its component type is used.
40-
The same pattern is applied for all the `NamedComponent` s when the bean name has to be generated within the flow.
40+
The same pattern is applied for all the ``NamedComponent``s when the bean name has to be generated within the flow.
4141
These generated bean names are prepended with the flow ID for purposes such as parsing logs or grouping components together in some analysis tool, as well as to avoid a race condition when we concurrently register integration flows at runtime.
4242
See xref:dsl/java-runtime-flows.adoc[Dynamic and Runtime Integration Flows] for more information.
4343

src/reference/antora/modules/ROOT/pages/filter.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ All of this is demonstrated in the following configuration example, where the ex
187187
</beans:bean>
188188
----
189189

190-
If the `ExpressionSource` bean is named `expressionSource`, you need not provide the` source` attribute on the `<expression>` element.
190+
If the `ExpressionSource` bean is named `expressionSource`, you need not provide the `source` attribute on the `<expression>` element.
191191
However, in the preceding example, we show it for completeness.
192192

193193
The 'config/integration/expressions.properties' file (or any more-specific version with a locale extension to be resolved in the typical way that resource-bundles are loaded) can contain a key/value pair, as the following example shows:

src/reference/antora/modules/ROOT/pages/ftp/server-events.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[ftp-server-events]]
22
= Apache Mina FTP Server Events
33

4-
The `ApacheMinaFtplet`, added in version 5.2, listens for certain Apache Mina FTP server events and publishes them as `ApplicationEvent` s which can be received by any `ApplicationListener` bean, `@EventListener` bean method, or xref:event.adoc#appevent-inbound[Event Inbound Channel Adapter].
4+
The `ApacheMinaFtplet`, added in version 5.2, listens for certain Apache Mina FTP server events and publishes them as ``ApplicationEvent``s which can be received by any `ApplicationListener` bean, `@EventListener` bean method, or xref:event.adoc#appevent-inbound[Event Inbound Channel Adapter].
55

66
Currently, supported events are:
77

src/reference/antora/modules/ROOT/pages/handler-advice/classes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The logic internally is based on the `CacheAspectSupport` extension, where proxy
327327
This advice can be configured with a SpEL expression or a `Function` to evaluate a cache key.
328328
The request `Message<?>` is available as the root object for the SpEL evaluation context, or as the `Function` input argument.
329329
By default, the `payload` of the request message is used for the cache key.
330-
The `CacheRequestHandlerAdvice` must be configured with `cacheNames`, when a default cache operation is a `CacheableOperation`, or with a set of any arbitrary `CacheOperation` s.
330+
The `CacheRequestHandlerAdvice` must be configured with `cacheNames`, when a default cache operation is a `CacheableOperation`, or with a set of any arbitrary ``CacheOperation``s.
331331
Every `CacheOperation` can be configured separately or have shared options, like a `CacheManager`, `CacheResolver` and `CacheErrorHandler`, can be reused from the `CacheRequestHandlerAdvice` configuration.
332332
This configuration functionality is similar to Spring Framework's `@CacheConfig` and `@Caching` annotation combination.
333333
If a `CacheManager` is not provided, a single bean is resolved by default from the `BeanFactory` in the `CacheAspectSupport`.

src/reference/antora/modules/ROOT/pages/ip/tcp-events.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
= TCP Connection Events
33

44
Beginning with version 3.0, changes to `TcpConnection` instances are reported by `TcpConnectionEvent` instances.
5-
`TcpConnectionEvent` is a subclass of `ApplicationEvent` and can thus be received by any `ApplicationListener` defined in the `ApplicationContext`, or an `@EventListener` method.
5+
`TcpConnectionEvent` is a subclass of `ApplicationEvent` and can thus be received by any `ApplicationListener` defined in the `ApplicationContext`, or an `@EventListener` method.
66
Also see xref:event.adoc#appevent-inbound[an event inbound channel adapter].
77

88
`TcpConnectionEvents` have the following properties:
@@ -13,7 +13,7 @@ Also see xref:event.adoc#appevent-inbound[an event inbound channel adapter].
1313
* `source`: The `TcpConnection`.
1414
You can use this, for example, to determine the remote IP Address with `getHostAddress()` (cast required).
1515

16-
Available `TcpConnectionEvent` s, related to a specific connection include:
16+
Available ``TcpConnectionEvent``s, related to a specific connection include:
1717

1818
* `TcpConnectionOpenEvent`
1919
* `TcpConnectionCloseEvent`

0 commit comments

Comments
 (0)