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 88c6c7b commit f006632Copy full SHA for f006632
hamcrest-library/src/main/java/org/hamcrest/collection/MatchIterables.java
@@ -115,7 +115,7 @@ public static <E> Matcher<Iterable<? extends E>> emptyIterable() {
115
*
116
* @param unusedToForceReturnType the type of the iterable's content
117
*/
118
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked", "UnusedParameters"})
119
public static <E> Matcher<Iterable<E>> emptyIterableOf(Class<E> unusedToForceReturnType) {
120
return (Matcher)new IsEmptyIterable<>();
121
}
0 commit comments