Skip to content

Commit

Permalink
HHH-18974 - Annotate UuidVersion6/7Strategy.Holder classes as @internal
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
  • Loading branch information
jrenaat committed Jan 24, 2025
1 parent e41c286 commit 66a92c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
public class UuidVersion6Strategy implements UUIDGenerationStrategy, UuidValueGenerator {
public static final UuidVersion6Strategy INSTANCE = new UuidVersion6Strategy();

@Internal
public static class Holder {
static final SecureRandom numberGenerator = new SecureRandom();
static final long EPOCH_1582_SECONDS = LocalDate.of( 1582, 10, 15 )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class UuidVersion7Strategy implements UUIDGenerationStrategy, UuidValueGe

public static final UuidVersion7Strategy INSTANCE = new UuidVersion7Strategy();

@Internal
public static class Holder {
private static final SecureRandom numberGenerator = new SecureRandom();

Expand Down

0 comments on commit 66a92c2

Please sign in to comment.