Skip to content

Commit 5d1262d

Browse files
committed
Address build error by adding specificity to call site.
1 parent c533c09 commit 5d1262d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingParallelRuns.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static <E> Matcher<Iterable<E>> containsParallelRunsOf(
143143
public static <E> Matcher<Iterable<E>> containsParallelRunsOf(
144144
final int numRuns, final Matcher<? super E>... matchers
145145
) {
146-
return containsParallelRunsOf(numRuns, asList(matchers));
146+
return containsParallelRunsOf(numRuns, List.<Matcher<? super E>>of(matchers));
147147
}
148148

149149
public static <E> Matcher<Iterable<E>> containsParallelRunsOf(

0 commit comments

Comments
 (0)