Skip to content

Commit

Permalink
Cast key to String
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen committed Feb 19, 2020
1 parent 4f52a0f commit 8d385a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public Map<String, Object> customInstantiate(@NonNull Map<String, Object> argume

private static List<String> toKeyValueList(Map<?, ?> map) {
return map.entrySet().stream()
.map(m -> m.getKey() + "=" + (m.getValue() == null ? "" : m.getValue().toString()))
.map(m -> (String) m.getKey() + "=" + (m.getValue() == null ? "" : m.getValue().toString()))
.collect(Collectors.toList());
}
}
Expand Down

0 comments on commit 8d385a2

Please sign in to comment.