diff --git a/sormas-api/src/main/java/de/symeda/sormas/api/customizableenum/CustomizableEnumValueDto.java b/sormas-api/src/main/java/de/symeda/sormas/api/customizableenum/CustomizableEnumValueDto.java index cf109768988..46c58a5d6b7 100644 --- a/sormas-api/src/main/java/de/symeda/sormas/api/customizableenum/CustomizableEnumValueDto.java +++ b/sormas-api/src/main/java/de/symeda/sormas/api/customizableenum/CustomizableEnumValueDto.java @@ -15,6 +15,7 @@ package de.symeda.sormas.api.customizableenum; +import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; @@ -59,7 +60,7 @@ public class CustomizableEnumValueDto extends EntityDto { private String caption; @Valid private List translations; - private Set diseases; + private Set diseases = new HashSet<>(); @Size(max = FieldConstraints.CHARACTER_LIMIT_TEXT, message = Validations.textTooLong) private String description; @Valid