Skip to content

Commit 8154e67

Browse files
committed
Polish
See gh-20704
1 parent 85c9979 commit 8154e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ These are:
13791379

13801380
The default unit is milliseconds and can be overridden using `@DurationUnit` as illustrated in the sample above.
13811381

1382-
TIP: If you are upgrading from a previous version that is simply using `Long` to express the duration, make sure to define the unit (using `@DurationUnit`) if it isn't milliseconds alongside the switch to `Duration`.
1382+
TIP: If you are upgrading a `Long` property, make sure to define the unit (using `@DurationUnit`) if it isn't milliseconds.
13831383
Doing so gives a transparent upgrade path while supporting a much richer format.
13841384

13851385

0 commit comments

Comments
 (0)