Skip to content

Commit 9739408

Browse files
committed
delegate to MatchingCollections
1 parent 978e63f commit 9739408

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hamcrest-library/src/main/java/org/hamcrest/Matchers.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.hamcrest;
22

33
import org.hamcrest.collection.IsCollectionContaining;
4-
import org.hamcrest.collection.IsIterableWithSize;
54

65
import java.util.Collection;
76
import java.util.List;
@@ -1020,7 +1019,7 @@ public static <E> Matcher<Iterable<? extends E>> containsInRelativeOrder(List<Ma
10201019
* a matcher for the number of items that should be yielded by an examined {@link Iterable}
10211020
*/
10221021
public static <E> Matcher<Iterable<E>> iterableWithSize(Matcher<? super Integer> sizeMatcher) {
1023-
return IsIterableWithSize.<E>iterableWithSize(sizeMatcher);
1022+
return MatchingCollections.<E>iterableWithSize(sizeMatcher);
10241023
}
10251024

10261025
/**

0 commit comments

Comments
 (0)