mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-09 16:51:02 +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 {
|
dependencies {
|
||||||
implementation 'org.java-websocket:Java-WebSocket:1.4.0'
|
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'
|
implementation group: 'org.json', name: 'json', version: '20180813'
|
||||||
|
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
package io.github.chronosx88.JGUN.futures;
|
package io.github.chronosx88.JGUN.futures;
|
||||||
|
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java9.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
import java.util.concurrent.ExecutionException;
|
import java.util.concurrent.ExecutionException;
|
||||||
|
|
||||||
|
|
||||||
public class BaseCompletableFuture<T> extends CompletableFuture<T> {
|
public class BaseCompletableFuture<T> extends CompletableFuture<T> {
|
||||||
private final String futureID;
|
private final String futureID;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user