Skip to content

Commit 49ab5de

Browse files
committed
Polish
See gh-20704
1 parent 8154e67 commit 49ab5de

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
@@ -1413,7 +1413,7 @@ These are:
14131413

14141414
The default unit is bytes and can be overridden using `@DataSizeUnit` as illustrated in the sample above.
14151415

1416-
TIP: If you are upgrading from a previous version that is simply using `Long` to express the size, make sure to define the unit (using `@DataSizeUnit`) if it isn't bytes alongside the switch to `DataSize`.
1416+
TIP: If you are upgrading a `Long` property, make sure to define the unit (using `@DataSizeUnit`) if it isn't bytes.
14171417
Doing so gives a transparent upgrade path while supporting a much richer format.
14181418

14191419

0 commit comments

Comments
 (0)