See gh-23986
This commit is contained in:
izeye
2020-11-01 22:53:19 +09:00
committed by Stephane Nicoll
parent f3134600c0
commit 9c35cd41ad
4 changed files with 4 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ public class ConfigurationMetadata {
/**
* Add item meta-data if it's not already present.
* @param itemMetadata the meta-data to add
* @since 2.4.0
*/
public void addIfMissing(ItemMetadata itemMetadata) {
add(this.items, itemMetadata.getName(), itemMetadata, true);