Skip to content

Commit f006632

Browse files
committed
Fixed warning
1 parent 88c6c7b commit f006632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hamcrest-library/src/main/java/org/hamcrest/collection/MatchIterables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public static <E> Matcher<Iterable<? extends E>> emptyIterable() {
115115
*
116116
* @param unusedToForceReturnType the type of the iterable's content
117117
*/
118-
@SuppressWarnings("unchecked")
118+
@SuppressWarnings({"unchecked", "UnusedParameters"})
119119
public static <E> Matcher<Iterable<E>> emptyIterableOf(Class<E> unusedToForceReturnType) {
120120
return (Matcher)new IsEmptyIterable<>();
121121
}

0 commit comments

Comments
 (0)