We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6886750 commit 71c14e5Copy full SHA for 71c14e5
sormas-api/src/main/java/de/symeda/sormas/api/customizableenum/CustomizableEnumValueDto.java
@@ -15,6 +15,7 @@
15
16
package de.symeda.sormas.api.customizableenum;
17
18
+import java.util.HashSet;
19
import java.util.List;
20
import java.util.Map;
21
import java.util.Set;
@@ -59,7 +60,7 @@ public class CustomizableEnumValueDto extends EntityDto {
59
60
private String caption;
61
@Valid
62
private List<CustomizableEnumTranslation> translations;
- private Set<Disease> diseases;
63
+ private Set<Disease> diseases = new HashSet<>();
64
@Size(max = FieldConstraints.CHARACTER_LIMIT_TEXT, message = Validations.textTooLong)
65
private String description;
66
0 commit comments