Skip to content

Commit

Permalink
Clean up conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tumbarumba committed Sep 12, 2024
1 parent 216b475 commit 804b583
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ private boolean isMatched(S item) {
*/
@SafeVarargs
public static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(Matcher<? super T>... itemMatchers) {
return containsInAnyOrder((Collection) Arrays.asList(itemMatchers));
List<Matcher<? super T>> itemMatchersList = Arrays.asList(itemMatchers);
return containsInAnyOrder(itemMatchersList);
}

/**
Expand Down

0 comments on commit 804b583

Please sign in to comment.