This commit is contained in:
nkorange 2019-10-30 10:20:16 +08:00
parent f4f90a08ed
commit 5caa57351a

View File

@ -150,7 +150,7 @@ public class Instance {
public void addMetadata(String key, String value) {
if (this.metadata == null) {
this.metadata = new HashMap<String, String>();
this.metadata = new HashMap<String, String>(4);
}
this.metadata.put(key, value);
}