Skip to content

Commit bc046ba

Browse files
committed
Merge pull request #42445 from ngocnhan-tran1996
* pr/42445: Polish documentation Closes gh-42445
2 parents 02335a6 + db9cb54 commit bc046ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/sql.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ For example, the following section in `application.properties` shows how you can
157157

158158
[[data.sql.jdbc-template]]
159159
=== Using JdbcTemplate
160-
Spring's `JdbcTemplate` and `NamedParameterJdbcTemplate` classes are auto-configured, and you can `@Autowire` them directly into your own beans, as shown in the following example:
160+
Spring's `JdbcTemplate` and `NamedParameterJdbcTemplate` classes are auto-configured, and you can autowire them directly into your own beans, as shown in the following example:
161161

162162
include::code:MyBean[]
163163

@@ -501,7 +501,7 @@ If you want to make sure that each context has a separate embedded database, you
501501

502502
[[data.sql.r2dbc.using-database-client]]
503503
==== Using DatabaseClient
504-
A `DatabaseClient` bean is auto-configured, and you can `@Autowire` it directly into your own beans, as shown in the following example:
504+
A `DatabaseClient` bean is auto-configured, and you can autowire it directly into your own beans, as shown in the following example:
505505

506506
include::code:MyBean[]
507507

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ If you need to start a full running server, we recommend that you use random por
227227
If you use `@SpringBootTest(webEnvironment=WebEnvironment.RANDOM_PORT)`, an available port is picked at random each time your test runs.
228228

229229
The `@LocalServerPort` annotation can be used to <<howto#howto.webserver.discover-port,inject the actual port used>> into your test.
230-
For convenience, tests that need to make REST calls to the started server can additionally `@Autowire` a {spring-framework-docs}/testing/webtestclient.html[`WebTestClient`], which resolves relative links to the running server and comes with a dedicated API for verifying responses, as shown in the following example:
230+
For convenience, tests that need to make REST calls to the started server can additionally autowire a {spring-framework-docs}/testing/webtestclient.html[`WebTestClient`], which resolves relative links to the running server and comes with a dedicated API for verifying responses, as shown in the following example:
231231

232232
include::code:MyRandomPortWebTestClientTests[]
233233

0 commit comments

Comments
 (0)