Skip to content

Commit 140fa2f

Browse files
committed
Replace E.g. with For example
Latin abbreviation is not readable for non-native English speakers.
1 parent cc3f4b8 commit 140fa2f

File tree

724 files changed

+1294
-1294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

724 files changed

+1294
-1294
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ multiple edits or corrections of the same logical change. See
8686
for an overview of streamlining the commit history.
8787

8888
1. Format commit messages using 55 characters for the subject line, 72 characters per line
89-
for the description, followed by the issue fixed, e.g. `Closes gh-22276`. See the
89+
for the description, followed by the issue fixed, for example, `Closes gh-22276`. See the
9090
[Commit Guidelines section of Pro Git](https://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines)
9191
for best practices around commit messages, and use `git log` to see some examples.
9292

framework-docs/modules/ROOT/pages/core/aop/ataspectj/introductions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can make an introduction by using the `@DeclareParents` annotation. This ann
99
is used to declare that matching types have a new parent (hence the name). For example,
1010
given an interface named `UsageTracked` and an implementation of that interface named
1111
`DefaultUsageTracked`, the following aspect declares that all implementors of service
12-
interfaces also implement the `UsageTracked` interface (e.g. for statistics via JMX):
12+
interfaces also implement the `UsageTracked` interface (for example, for statistics via JMX):
1313

1414
[tabs]
1515
======

framework-docs/modules/ROOT/pages/core/aop/introduction-defn.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ with less potential for errors. For example, you do not need to invoke the `proc
6565
method on the `JoinPoint` used for around advice, and, hence, you cannot fail to invoke it.
6666

6767
All advice parameters are statically typed so that you work with advice parameters of
68-
the appropriate type (e.g. the type of the return value from a method execution) rather
68+
the appropriate type (for example, the type of the return value from a method execution) rather
6969
than `Object` arrays.
7070

7171
The concept of join points matched by pointcuts is the key to AOP, which distinguishes

framework-docs/modules/ROOT/pages/core/beans/annotation-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ can be found in the xref:core/beans/standard-annotations.adoc[relevant section].
2020
[NOTE]
2121
====
2222
Annotation injection is performed before external property injection. Thus, external
23-
configuration (e.g. XML-specified bean properties) effectively overrides the annotations
23+
configuration (for example, XML-specified bean properties) effectively overrides the annotations
2424
for properties when wired through mixed approaches.
2525
====
2626

framework-docs/modules/ROOT/pages/core/beans/context-introduction.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ You can register as many event listeners as you wish, but note that, by default,
484484
This means that the `publishEvent()` method blocks until all listeners have finished processing the event.
485485
One advantage of this synchronous and single-threaded approach is that, when a listener receives an event,
486486
it operates inside the transaction context of the publisher if a transaction context is available.
487-
If another strategy for event publication becomes necessary, e.g. asynchronous event processing by default,
487+
If another strategy for event publication becomes necessary, for example, asynchronous event processing by default,
488488
see the javadoc for Spring's {spring-framework-api}/context/event/ApplicationEventMulticaster.html[`ApplicationEventMulticaster`] interface
489489
and {spring-framework-api}/context/event/SimpleApplicationEventMulticaster.html[`SimpleApplicationEventMulticaster`] implementation
490490
for configuration options which can be applied to a custom "applicationEventMulticaster" bean definition.
@@ -864,7 +864,7 @@ Finally, as with classic `ApplicationListener` implementations, the actual multi
864864
happens via a context-wide `ApplicationEventMulticaster` at runtime. By default, this is a
865865
`SimpleApplicationEventMulticaster` with synchronous event publication in the caller thread.
866866
This can be replaced/customized through an "applicationEventMulticaster" bean definition,
867-
e.g. for processing all events asynchronously and/or for handling listener exceptions:
867+
for example, for processing all events asynchronously and/or for handling listener exceptions:
868868

869869
[source,java,indent=0,subs="verbatim,quotes"]
870870
----

framework-docs/modules/ROOT/pages/core/beans/factory-nature.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ based on the given configuration but no further activity with external bean acce
144144
Otherwise there is a risk for an initialization deadlock.
145145
146146
For a scenario where expensive post-initialization activity is to be triggered,
147-
e.g. asynchronous database preparation steps, your bean should either implement
147+
for example, asynchronous database preparation steps, your bean should either implement
148148
`SmartInitializingSingleton.afterSingletonsInstantiated()` or rely on the context
149149
refresh event: implementing `ApplicationListener<ContextRefreshedEvent>` or
150150
declaring its annotation equivalent `@EventListener(ContextRefreshedEvent.class)`.
@@ -607,7 +607,7 @@ bean creation phase and its subsequent initial publication, they need to be decl
607607
`volatile` or guarded by a common lock whenever accessed.
608608

609609
Note that concurrent access to such configuration state in singleton bean instances,
610-
e.g. for controller instances or repository instances, is perfectly thread-safe after
610+
for example, for controller instances or repository instances, is perfectly thread-safe after
611611
such safe initial publication from the container side. This includes common singleton
612612
`FactoryBean` instances which are processed within the general singleton lock as well.
613613

@@ -617,7 +617,7 @@ structures (or in `volatile` fields for simple cases) as per common Java guideli
617617

618618
Deeper `Lifecycle` integration as shown above involves runtime-mutable state such as
619619
a `runnable` field which will have to be declared as `volatile`. While the common
620-
lifecycle callbacks follow a certain order, e.g. a start callback is guaranteed to
620+
lifecycle callbacks follow a certain order, for example, a start callback is guaranteed to
621621
only happen after full initialization and a stop callback only after an initial start,
622622
there is a special case with the common stop before destroy arrangement: It is strongly
623623
recommended that the internal state in any such bean also allows for an immediate

framework-docs/modules/ROOT/pages/core/beans/java/composing-configuration-classes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ parameter-based injection, as in the preceding example.
219219
Avoid access to locally defined beans within a `@PostConstruct` method on the same configuration
220220
class. This effectively leads to a circular reference since non-static `@Bean` methods semantically
221221
require a fully initialized configuration class instance to be called on. With circular references
222-
disallowed (e.g. in Spring Boot 2.6+), this may trigger a `BeanCurrentlyInCreationException`.
222+
disallowed (for example, in Spring Boot 2.6+), this may trigger a `BeanCurrentlyInCreationException`.
223223
224224
Also, be particularly careful with `BeanPostProcessor` and `BeanFactoryPostProcessor` definitions
225225
through `@Bean`. Those should usually be declared as `static @Bean` methods, not triggering the

framework-docs/modules/ROOT/pages/core/databuffer-codec.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ a `DataBuffer` implementation and that does not involve allocation.
2929

3030
Note that WebFlux applications do not create a `DataBufferFactory` directly but instead
3131
access it through the `ServerHttpResponse` or the `ClientHttpRequest` on the client side.
32-
The type of factory depends on the underlying client or server, e.g.
32+
The type of factory depends on the underlying client or server, for example,
3333
`NettyDataBufferFactory` for Reactor Netty, `DefaultDataBufferFactory` for others.
3434

3535

@@ -82,7 +82,7 @@ to use the convenience methods in `DataBufferUtils` that apply release or retain
8282

8383
`DataBufferUtils` offers a number of utility methods to operate on data buffers:
8484

85-
* Join a stream of data buffers into a single buffer possibly with zero copy, e.g. via
85+
* Join a stream of data buffers into a single buffer possibly with zero copy, for example, via
8686
composite buffers, if that's supported by the underlying byte buffer API.
8787
* Turn `InputStream` or NIO `Channel` into `Flux<DataBuffer>`, and vice versa a
8888
`Publisher<DataBuffer>` into `OutputStream` or NIO `Channel`.

framework-docs/modules/ROOT/pages/core/validation/beans-beans.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ manner, but through a nested property path. That means constructor binding creat
3838
the target object and any objects it contains.
3939

4040
Constructor binding supports `List`, `Map`, and array arguments either converted from
41-
a single string, e.g. comma-separated list, or based on indexed keys such as
41+
a single string, for example, comma-separated list, or based on indexed keys such as
4242
`accounts[2].name` or `account[KEY].name`.
4343

4444
Binding and conversion errors are reflected in the `BindingResult` of the `DataBinder`.

framework-docs/modules/ROOT/pages/core/validation/format.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Kotlin::
318318
The `FormatterRegistry` is an SPI for registering formatters and converters.
319319
`FormattingConversionService` is an implementation of `FormatterRegistry` suitable for
320320
most environments. You can programmatically or declaratively configure this variant
321-
as a Spring bean, e.g. by using `FormattingConversionServiceFactoryBean`. Because this
321+
as a Spring bean, for example, by using `FormattingConversionServiceFactoryBean`. Because this
322322
implementation also implements `ConversionService`, you can directly configure it
323323
for use with Spring's `DataBinder` and the Spring Expression Language (SpEL).
324324

0 commit comments

Comments
 (0)