style: Modifiers should be declared in the correct order;Map init 设置大小 避免扩容;

This commit is contained in:
xianlaioy 2019-09-09 17:56:14 +08:00
parent 13e509679d
commit 7b5c6e9273

View File

@ -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) {