This commit is contained in:
李晓双 Li Xiao Shuang 2021-10-28 10:12:27 +08:00 committed by GitHub
parent 0aeab6229f
commit cc213884ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ public class ConfigPublishRequest extends AbstractConfigRequest {
*/
public void putAdditionalParam(String key, String value) {
if (additionMap == null) {
additionMap = new HashMap<String, String>(2);
additionMap = new HashMap<>(2);
}
additionMap.put(key, value);
}