From 9d7f8f87e19589d669f79f049425eac8e25aa632 Mon Sep 17 00:00:00 2001 From: Michele Sollecito Date: Tue, 18 Jul 2023 10:05:05 +0100 Subject: [PATCH] Update UlidFactory.java --- src/main/java/com/github/f4b6a3/ulid/UlidFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/f4b6a3/ulid/UlidFactory.java b/src/main/java/com/github/f4b6a3/ulid/UlidFactory.java index 7d07fe9..0ba9b68 100644 --- a/src/main/java/com/github/f4b6a3/ulid/UlidFactory.java +++ b/src/main/java/com/github/f4b6a3/ulid/UlidFactory.java @@ -143,8 +143,8 @@ public final class UlidFactory { /** * Returns a new monotonic factory. * - * @param random a {@link Random} generator - * @param timeMillisNow a function that returns the current time as milliseconds from epoch + * @param random a {@link Random} generator + * @param timeMillisNow a function that returns the current time as milliseconds from epoch * @return {@link UlidFactory} */ public static UlidFactory newMonotonicInstance(Random random, LongSupplier timeMillisNow) { @@ -296,7 +296,7 @@ public final class UlidFactory { } public MonotonicFunction(IRandom random, Clock clock) { - this(random, clock::millis); + this(random, clock::millis); } public MonotonicFunction(IRandom random, LongSupplier timeMillisNow) {