mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
Better format javadoc in ConfigMemorySize.java
This commit is contained in:
parent
5b2519863e
commit
5a2b0b7380
@ -17,14 +17,16 @@ public final class ConfigMemorySize {
|
||||
this.bytes = bytes;
|
||||
}
|
||||
|
||||
/** Constructs a ConfigMemorySize representing the given
|
||||
/**
|
||||
* Constructs a ConfigMemorySize representing the given
|
||||
* number of bytes.
|
||||
*/
|
||||
public static ConfigMemorySize ofBytes(long bytes) {
|
||||
return new ConfigMemorySize(bytes);
|
||||
}
|
||||
|
||||
/** Gets the size in bytes.
|
||||
/**
|
||||
* Gets the size in bytes.
|
||||
*/
|
||||
public long toBytes() {
|
||||
return bytes;
|
||||
|
Loading…
Reference in New Issue
Block a user