Skip to content

Commit

Permalink
Update ProtoToMap.java
Browse files Browse the repository at this point in the history
  • Loading branch information
siderakis committed Aug 3, 2018
1 parent d8548b9 commit dd57f36
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ public static Map<String, Object> messageToMap(Message message) {

private static Object mapValues(FieldDescriptor field, Object maybeValues) {
if (field.isRepeated()) {
List values = (List) maybeValues;
List<?> values = (List<?>) maybeValues;
return values
.stream()
.map(value -> mapValue(field, value))
Expand Down

0 comments on commit dd57f36

Please sign in to comment.