Skip to content
Prev Previous commit
Next Next 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