Skip to content

Commit

Permalink
Fix generics on Matchers.exactSequenceOf()
Browse files Browse the repository at this point in the history
  • Loading branch information
bliessens committed Sep 19, 2018
1 parent d18cc02 commit fb5aa48
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -112,7 +112,7 @@ public static <T> Matcher<List<T>> sequenceOf(Matcher<T>... matchers) {
*/
@SafeVarargs
@Factory
public static <T> Matcher<List<T>> exactSequenceOf(Matcher<? super T>... matchers) {
public static <T> Matcher<List<T>> exactSequenceOf(Matcher<T>... matchers) {
return new ExactSequenceMatcher<>(matchers);
}

Expand Down

0 comments on commit fb5aa48

Please sign in to comment.