Fix typos in Javadoc of Ulid class

Signed-off-by: moznion <moznion@mail.moznion.net>
This commit is contained in:
moznion 2023-08-18 16:21:57 -07:00
parent 6bf6ec6559
commit 5701df6096
No known key found for this signature in database
GPG Key ID: AB429314320BA37C
1 changed files with 5 additions and 5 deletions

View File

@ -154,7 +154,7 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
* <p> * <p>
* Random parameter must be an array of 10 bytes. * Random parameter must be an array of 10 bytes.
* *
* @param time the the number of milliseconds since 1970-01-01 * @param time the number of milliseconds since 1970-01-01
* @param random an array of 10 bytes * @param random an array of 10 bytes
* @throws IllegalArgumentException if time is negative or larger than 2^48-1 * @throws IllegalArgumentException if time is negative or larger than 2^48-1
* @throws IllegalArgumentException if random is null or its length is not 10 * @throws IllegalArgumentException if random is null or its length is not 10
@ -227,7 +227,7 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
* It can be useful to find all records before or after a specific timestamp in * It can be useful to find all records before or after a specific timestamp in
* a table without a `{@code created_at}` field. * a table without a `{@code created_at}` field.
* *
* @param time the the number of milliseconds since 1970-01-01 * @param time the number of milliseconds since 1970-01-01
* @return a ULID * @return a ULID
* @since 5.2.0 * @since 5.2.0
*/ */
@ -248,7 +248,7 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
* It can be useful to find all records before or after a specific timestamp in * It can be useful to find all records before or after a specific timestamp in
* a table without a `{@code created_at}` field. * a table without a `{@code created_at}` field.
* *
* @param time the the number of milliseconds since 1970-01-01 * @param time the number of milliseconds since 1970-01-01
* @return a ULID * @return a ULID
* @since 5.2.0 * @since 5.2.0
*/ */
@ -375,7 +375,7 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
/** /**
* Convert the ULID into a byte array. * Convert the ULID into a byte array.
* *
* @return an byte array. * @return a byte array.
*/ */
public byte[] toBytes() { public byte[] toBytes() {
@ -436,7 +436,7 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
} }
/** /**
* Converts the ULID into into another ULID that is compatible with UUIDv4. * Converts the ULID into another ULID that is compatible with UUIDv4.
* <p> * <p>
* The bytes of the returned ULID are compliant with the RFC-4122 version 4. * The bytes of the returned ULID are compliant with the RFC-4122 version 4.
* <p> * <p>