Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cast key to String
  • Loading branch information
jetersen committed Feb 19, 2020
commit 8d385a2e554f38b9e201024f99b0819eeef59b97
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