mirror of
https://github.com/tommyskeff/futur4j.git
synced 2026-01-18 07:16:45 +00:00
finalize changes for 2.5.0 release
This commit is contained in:
@@ -13,11 +13,7 @@ public class ResultJoiner<T> extends PromiseJoiner<Promise<T>, Void, T, List<T>>
|
||||
|
||||
private final ConcurrentResultArray<T> results;
|
||||
|
||||
public ResultJoiner(
|
||||
@NotNull PromiseFactory factory,
|
||||
@NotNull Iterator<Promise<T>> promises,
|
||||
int expectedSize
|
||||
) {
|
||||
public ResultJoiner(@NotNull PromiseFactory factory, @NotNull Iterator<Promise<T>> promises, int expectedSize) {
|
||||
super(factory);
|
||||
this.results = new ConcurrentResultArray<>(expectedSize);
|
||||
join(promises);
|
||||
|
||||
Reference in New Issue
Block a user