Skip to content

Commit ca49fda

Browse files
committed
Merge pull request #48596 from ngocnhan-tran1996
* pr/48596: Fix grammar and typos Closes gh-48596
2 parents 4fc3ca3 + 0a03c1c commit ca49fda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ Doing so gives a transparent upgrade path while supporting a much richer format.
12201220
In addition to durations, Spring Boot can also work with javadoc:java.time.Period[] type.
12211221
The following formats can be used in application properties:
12221222

1223-
* An regular `int` representation (using days as the default unit unless a javadoc:org.springframework.boot.convert.PeriodUnit[format=annotation] has been specified)
1223+
* A regular `int` representation (using days as the default unit unless a javadoc:org.springframework.boot.convert.PeriodUnit[format=annotation] has been specified)
12241224
* The standard ISO-8601 format {apiref-openjdk}/java.base/java/time/Period.html#parse(java.lang.CharSequence)[used by javadoc:java.time.Period[]]
12251225
* A simpler format where the value and the unit pairs are coupled (`1y3d` means 1 year and 3 days)
12261226

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/testing/spring-boot-applications.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ For convenience, tests that need to make REST calls to the started server can ad
180180

181181
include-code::MyRandomPortWebTestClientTests[]
182182

183-
TIP: javadoc:org.springframework.test.web.reactive.server.WebTestClient[] can also used with a xref:testing/spring-boot-applications.adoc#testing.spring-boot-applications.with-mock-environment[mock environment], removing the need for a running server, by annotating your test class with javadoc:org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient[format=annotation].
183+
TIP: javadoc:org.springframework.test.web.reactive.server.WebTestClient[] can also be used with a xref:testing/spring-boot-applications.adoc#testing.spring-boot-applications.with-mock-environment[mock environment], removing the need for a running server, by annotating your test class with javadoc:org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient[format=annotation].
184184

185185
This setup requires `spring-webflux` on the classpath.
186186
If you can not or will not add webflux, Spring Boot also provides a javadoc:org.springframework.boot.test.web.client.TestRestTemplate[] facility:

0 commit comments

Comments
 (0)