FIX: setting json values to null was throwing a NPE when persisting

This commit is contained in:
Jonas Pöhler (JPo) authored and Jonas Pöhler committed 2021-08-16 12:02:47 +02:00
1 parent f7a0ae8b4a
commit f3ec4a78c9
3 files changed
+42 -6

No files matched your search

@@ -122,9 +122,6 @@ class ScalarTypeJsonList {
@Override
public final String formatValue(List value) {
if (value.isEmpty()) {
return "[]";
}
try {
return EJson.write(value);
} catch (IOException e) {
@@ -122,9 +122,6 @@ final class ScalarTypeJsonSet {
@Override
public final String formatValue(Set value) {
if (value.isEmpty()) {
return "[]";
}
try {
return EJson.write(value);
} catch (IOException e) {