Skip to content

Commit a7c53b1

Browse files
dennis-sqillsvietj
authored andcommitted
Remove obsolete generic type from static Future joins. Fixes #5765
1 parent b437d50 commit a7c53b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vertx-core/src/main/java/io/vertx/core/Future.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static CompositeFuture all(Future<?> ... futures) {
8787
*
8888
* When the list is empty, the returned future will be already completed.
8989
*/
90-
static <T> CompositeFuture all(List<? extends Future<?>> futures) {
90+
static CompositeFuture all(List<? extends Future<?>> futures) {
9191
return CompositeFutureImpl.all(futures.toArray(new Future[0]));
9292
}
9393

@@ -137,7 +137,7 @@ static CompositeFuture any(Future<?> f1, Future<?> f2, Future<?> f3, Future<?> f
137137
*
138138
* When the list is empty, the returned future will be already completed.
139139
*/
140-
static <T> CompositeFuture any(Future<?> ... futures) {
140+
static CompositeFuture any(Future<?> ... futures) {
141141
return CompositeFutureImpl.any(futures);
142142
}
143143

@@ -196,7 +196,7 @@ static CompositeFuture join(Future<?> f1, Future<?> f2, Future<?> f3, Future<?>
196196
*
197197
* When the list is empty, the returned future will be already completed.
198198
*/
199-
static <T> CompositeFuture join(Future<?> ... futures) {
199+
static CompositeFuture join(Future<?> ... futures) {
200200
return CompositeFutureImpl.join(futures);
201201
}
202202

0 commit comments

Comments
 (0)