We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8883dc6 commit c84bbf0Copy full SHA for c84bbf0
hamcrest-library/src/main/java/org/hamcrest/collection/HasConsecutiveItems.java
@@ -63,7 +63,6 @@ public static <T> Matcher<Collection<? extends T>> hasConsecutiveItems(
63
}
64
65
@Factory
66
- @SafeVarargs
67
public static <T> Matcher<Collection<? extends T>> hasConsecutiveItems(
68
Matcher<? super T>... matchers) {
69
return hasConsecutiveItems(Arrays.asList(matchers));
@@ -80,7 +79,6 @@ public static <T> Matcher<Collection<? extends T>> hasConsecutiveItems(
80
79
81
82
83
84
public static <T> Matcher<Collection<? extends T>> hasConsecutiveItems(T... elements) {
85
return hasConsecutiveItems(Arrays.asList(elements));
86
0 commit comments