regular maintenance

This commit is contained in:
Fabio Lima 2023-04-30 03:39:38 -03:00
parent af3a7ee0a1
commit 6641297be8
3 changed files with 6 additions and 5 deletions

View File

@ -9,6 +9,7 @@ Nothing to be released.
## [5.2.0] - 2023-04-30 ## [5.2.0] - 2023-04-30
Add Hash ULID generator methods. #25 Add Hash ULID generator methods. #25
Add a MIN and MAX constants and methods. #26 Add a MIN and MAX constants and methods. #26
## [5.1.0] - 2022-10-22 ## [5.1.0] - 2022-10-22

View File

@ -19,7 +19,7 @@ The jar file can be downloaded directly from [maven.org](https://repo1.maven.org
Read the [Javadocs](https://javadoc.io/doc/com.github.f4b6a3/ulid-creator). Read the [Javadocs](https://javadoc.io/doc/com.github.f4b6a3/ulid-creator).
How to Use Usage
------------------------------------------------------ ------------------------------------------------------
Create a ULID: Create a ULID:
@ -34,7 +34,7 @@ Create a Monotonic ULID:
Ulid ulid = UlidCreator.getMonotonicUlid(); Ulid ulid = UlidCreator.getMonotonicUlid();
``` ```
### Maven dependency ### Dependency
Add these lines to your `pom.xml`. Add these lines to your `pom.xml`.

View File

@ -89,9 +89,9 @@ public final class Ulid implements Serializable, Comparable<Ulid> {
*/ */
public static final Ulid MAX = new Ulid(0xffffffffffffffffL, 0xffffffffffffffffL); public static final Ulid MAX = new Ulid(0xffffffffffffffffL, 0xffffffffffffffffL);
protected static final byte[] ALPHABET_VALUES = new byte[256]; static final byte[] ALPHABET_VALUES = new byte[256];
private static final char[] ALPHABET_UPPERCASE = "0123456789ABCDEFGHJKMNPQRSTVWXYZ".toCharArray(); static final char[] ALPHABET_UPPERCASE = "0123456789ABCDEFGHJKMNPQRSTVWXYZ".toCharArray();
private static final char[] ALPHABET_LOWERCASE = "0123456789abcdefghjkmnpqrstvwxyz".toCharArray(); static final char[] ALPHABET_LOWERCASE = "0123456789abcdefghjkmnpqrstvwxyz".toCharArray();
static { static {