style: Modifiers should be declared in the correct order;Map init 设置大小 避免扩容;
This commit is contained in:
parent
13e509679d
commit
7b5c6e9273
@ -33,7 +33,7 @@ public class MD5 {
|
|||||||
private static final int DIGITS_COUNT = 16;
|
private static final int DIGITS_COUNT = 16;
|
||||||
private static final int DIGITS_CHAR_SIZE = 32;
|
private static final int DIGITS_CHAR_SIZE = 32;
|
||||||
|
|
||||||
private static Map<Character, Integer> rDigits = Maps.newHashMapWithExpectedSize(16)
|
private static Map<Character, Integer> rDigits = Maps.newHashMapWithExpectedSize(16);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
for (int i = 0; i < digits.length; ++i) {
|
for (int i = 0; i < digits.length; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user