From 5701df609602f5e225889322c5a8f01f0b0d423b Mon Sep 17 00:00:00 2001 From: moznion Date: Fri, 18 Aug 2023 16:21:57 -0700 Subject: [PATCH] Fix typos in Javadoc of Ulid class Signed-off-by: moznion --- src/main/java/com/github/f4b6a3/ulid/Ulid.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/github/f4b6a3/ulid/Ulid.java b/src/main/java/com/github/f4b6a3/ulid/Ulid.java index 6979b6a..dd8f819 100644 --- a/src/main/java/com/github/f4b6a3/ulid/Ulid.java +++ b/src/main/java/com/github/f4b6a3/ulid/Ulid.java @@ -154,7 +154,7 @@ public final class Ulid implements Serializable, Comparable { *

* 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 * @throws IllegalArgumentException if time is negative or larger than 2^48-1 * @throws IllegalArgumentException if random is null or its length is not 10 @@ -227,7 +227,7 @@ public final class Ulid implements Serializable, Comparable { * It can be useful to find all records before or after a specific timestamp in * 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 * @since 5.2.0 */ @@ -248,7 +248,7 @@ public final class Ulid implements Serializable, Comparable { * It can be useful to find all records before or after a specific timestamp in * 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 * @since 5.2.0 */ @@ -375,7 +375,7 @@ public final class Ulid implements Serializable, Comparable { /** * Convert the ULID into a byte array. * - * @return an byte array. + * @return a byte array. */ public byte[] toBytes() { @@ -436,7 +436,7 @@ public final class Ulid implements Serializable, Comparable { } /** - * Converts the ULID into into another ULID that is compatible with UUIDv4. + * Converts the ULID into another ULID that is compatible with UUIDv4. *

* The bytes of the returned ULID are compliant with the RFC-4122 version 4. *