mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-09 08:41:01 +00:00
Replaced CompletableFuture, which is compatible with the Android platform.
This commit is contained in:
parent
3d58d966bf
commit
2d10e4d73e
@ -14,6 +14,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
implementation 'org.java-websocket:Java-WebSocket:1.4.0'
|
||||
implementation 'net.sourceforge.streamsupport:android-retrofuture:1.7.0'
|
||||
implementation group: 'org.json', name: 'json', version: '20180813'
|
||||
|
||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||
|
@ -1,8 +1,10 @@
|
||||
package io.github.chronosx88.JGUN.futures;
|
||||
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java9.util.concurrent.CompletableFuture;
|
||||
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
|
||||
public class BaseCompletableFuture<T> extends CompletableFuture<T> {
|
||||
private final String futureID;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user