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 4a4f6f5 commit 9efd437Copy full SHA for 9efd437
src/main/java/com/github/theholywaffle/teamspeak3/api/CommandFuture.java
@@ -777,7 +777,7 @@ public static <F> CommandFuture<List<F>> ofAll(CommandFuture<F>... futures) {
777
* @return a future which succeeds if all supplied futures succeed
778
*/
779
public static <F> CommandFuture<List<F>> ofAll(final Collection<CommandFuture<F>> futures) {
780
- if (futures.isEmpty()) return CommandFuture.immediate(Collections.emptyList());
+ if (futures.isEmpty()) return immediate(Collections.emptyList());
781
782
@SuppressWarnings("unchecked") final F[] results = (F[]) new Object[futures.size()];
783
final AtomicInteger successCounter = new AtomicInteger(futures.size());
0 commit comments