Skip to content

Commit

Permalink
feat(api, spi, storage): transformer fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Isele <[email protected]>
  • Loading branch information
saschaisele-zf committed Jul 9, 2024
1 parent 33b189a commit 4b70956
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ protected String transformString(JsonValue value, TransformerContext context) {

/**
* Transforms a JsonValue to a list of strings. If the value parameter is not of type JsonString, JsonObject or JsonArray,
* a problem is reported to the context.
* a problem is reported to the context and an empty list is returned.
*
* @param value the value to transform
* @param context the transformer context
Expand Down Expand Up @@ -334,7 +334,7 @@ protected List<String> transformIdStringArray(JsonValue value, TransformerContex
.expected(ARRAY)
.report();
}
return null;
return result;
}

/**
Expand Down

0 comments on commit 4b70956

Please sign in to comment.