Skip to content

Commit

Permalink
add suppress warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Aug 4, 2023
1 parent 73f9a3f commit d005a59
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ private static Iterable<?> convert(Object value) {
return null;
}
if (value instanceof Map) {
@SuppressWarnings("unchecked")
Map<?, ?> map = (Map<?, ?>) value;
return () -> Iterators.concat(map.keySet().iterator(), map.values().iterator());
} else if ((value instanceof Iterable) && (value instanceof Path == false)) {
Expand Down

0 comments on commit d005a59

Please sign in to comment.