Skip to content

Commit

Permalink
Report String values when field is an array (#3566)
Browse files Browse the repository at this point in the history
Co-authored-by: Gilbert Blom <[email protected]>
  • Loading branch information
TrimbleGlob and Gilbert Blom authored Nov 2, 2024
1 parent 9370955 commit 0d7e167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private String stringValueFor(Object value) {
}
if (value.getClass().isArray()) {
List<String> elements = new ArrayList<>();
Collections.singletonList(value).forEach(
Collections.singletonList(((Object[])value)[0]).forEach(
part -> elements.add(part.toString())
);

Expand Down

0 comments on commit 0d7e167

Please sign in to comment.