Merge pull request #2691 from jiangcaijun/develop
hashMap constructor : choose more appropriate initialCapacity
This commit is contained in:
commit
4ddfe0c1c3
@ -73,7 +73,7 @@ public class ServiceStatusSynchronizer implements Synchronizer {
|
||||
return null;
|
||||
}
|
||||
|
||||
Map<String,String> params = new HashMap<>(10);
|
||||
Map<String,String> params = new HashMap<>(1);
|
||||
|
||||
params.put("key", key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user