Multile code improvements: squid:S1118, squid:S1068
This commit is contained in:
@@ -7,7 +7,7 @@ import java.util.Map;
|
||||
/**
|
||||
* A Java implementation of yeast. https://github.com/unshiftio/yeast
|
||||
*/
|
||||
public class Yeast {
|
||||
public final class Yeast {
|
||||
private static char[] alphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".toCharArray();
|
||||
|
||||
private static int length = alphabet.length;
|
||||
@@ -19,6 +19,8 @@ public class Yeast {
|
||||
}
|
||||
}
|
||||
|
||||
private Yeast () {}
|
||||
|
||||
private static int seed = 0;
|
||||
|
||||
private static String prev;
|
||||
|
||||
Reference in New Issue
Block a user