Better format javadoc in ConfigMemorySize.java

This commit is contained in:
Havoc Pennington 2015-02-25 20:46:01 -05:00
parent 5b2519863e
commit 5a2b0b7380

View File

@ -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;