Skip to content

Commit

Permalink
(yegor256#1573) Added wildcards to Threads ctor.
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket-3 committed Sep 12, 2021
1 parent 445cf16 commit cc7503a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/cactoos/experimental/Threads.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public Threads(
* @param tasks The tasks to be executed concurrently.
*/
private Threads(
final Func<Iterable<Callable<T>>, Iterable<Future<T>>> fnc,
final Func<? super Iterable<Callable<T>>, ? extends Iterable<? extends Future<T>>> fnc,
final Iterable<? extends Scalar<? extends T>> tasks
) {
super(
Expand Down

0 comments on commit cc7503a

Please sign in to comment.