Merge pull request #2691 from jiangcaijun/develop

hashMap constructor : choose more appropriate initialCapacity
This commit is contained in:
liaochuntao 2020-05-21 21:37:33 +08:00 committed by GitHub
commit 4ddfe0c1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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