From 4b24b03f8f7d72ed70e280fddd412fb0d43e9839 Mon Sep 17 00:00:00 2001 From: Fabio Lima Date: Mon, 15 Nov 2021 08:19:25 -0300 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5deaa98..a22abc3 100644 --- a/README.md +++ b/README.md @@ -225,9 +225,9 @@ Use a `UlidFactory` with `ThreadLocalRandom` inside of a `Supplier`: ```java // use a random supplier that returns an array of 10 bytes UlidFactory factory = UlidFactory.newInstance(() -> { - final byte[] bytes = new byte[Ulid.RANDOM_BYTES]; - ThreadLocalRandom.current().nextBytes(bytes); - return bytes; + final byte[] bytes = new byte[Ulid.RANDOM_BYTES]; + ThreadLocalRandom.current().nextBytes(bytes); + return bytes; }); // use the factory