Skip to content

Commit

Permalink
Make static constants public
Browse files Browse the repository at this point in the history
These values are useful for anyone consuming this project, e.g. the sqids-clojure library I'm currently building.
  • Loading branch information
robhanlon22 authored Nov 27, 2023
1 parent 73c44eb commit a1fb929
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/sqids/Sqids.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* This implementation is immutable and thread-safe, no lock is necessary.
*/
public class Sqids {
private static final int MIN_ALPHABET_LENGTH = 3;
private static final int MIN_LENGTH_LIMIT = 255;
private static final int MIN_BLOCK_LIST_WORD_LENGTH = 3;
public static final int MIN_ALPHABET_LENGTH = 3;
public static final int MIN_LENGTH_LIMIT = 255;
public static final int MIN_BLOCK_LIST_WORD_LENGTH = 3;

private final String alphabet;
private final int alphabetLength;
Expand Down

0 comments on commit a1fb929

Please sign in to comment.