提交 30b8d478 编写于 作者: S Stephane Nicoll

Polish

上级 71d4dbea
......@@ -130,7 +130,7 @@ public final class DataSize implements Comparable<DataSize> {
* Examples:
* <pre>
* "12KB" -- parses as "12 kilobytes"
* "5MB" -- parses as "5 megabytes" (where a minute is 60 seconds)
* "5MB" -- parses as "5 megabytes"
* "20" -- parses as "20 bytes"
* </pre>
* @param text the text to parse
......@@ -151,7 +151,7 @@ public final class DataSize implements Comparable<DataSize> {
* Examples:
* <pre>
* "12KB" -- parses as "12 kilobytes"
* "5MB" -- parses as "5 megabytes" (where a minute is 60 seconds)
* "5MB" -- parses as "5 megabytes"
* "20" -- parses as "20 kilobytes" (where the {@code defaultUnit} is {@link DataUnit#KILOBYTES})
* </pre>
* @param text the text to parse
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册