dev.onvoid.webrtc
diff --git a/webrtc/src/main/java/dev/onvoid/webrtc/client/ClientFuture.java b/webrtc/src/main/java/dev/onvoid/webrtc/client/ClientFuture.java
index 4ab921d3f..34df78805 100644
--- a/webrtc/src/main/java/dev/onvoid/webrtc/client/ClientFuture.java
+++ b/webrtc/src/main/java/dev/onvoid/webrtc/client/ClientFuture.java
@@ -27,8 +27,8 @@
* {@link #get()} refuse with a {@link BlockingCallException} instead of
* deadlocking. A future that is already done may be read anywhere.
*
- * On Java 9 and later the futures derived from this one, with {@code
- * thenApply} and the like, are of this class too and refuse the same way.
+ * The futures derived from this one, with {@code thenApply} and the like, are
+ * of this class too and refuse the same way.
*
* @param the result type.
*/
@@ -81,14 +81,14 @@ public T join() {
}
/**
- * Makes the futures derived from this one, on Java 9 and later, refuse to
- * be waited on from an event thread as well. Java 8 has no such method and
- * never calls it.
+ * Makes the futures derived from this one refuse to be waited on from an
+ * event thread as well.
*
* @param the result type of the derived future.
*
* @return a new incomplete future.
*/
+ @Override
public CompletableFuture newIncompleteFuture() {
return new ClientFuture<>();
}
diff --git a/webrtc/src/test/java/dev/onvoid/webrtc/client/PeerTests.java b/webrtc/src/test/java/dev/onvoid/webrtc/client/PeerTests.java
index 7fd31d282..6a68831c7 100644
--- a/webrtc/src/test/java/dev/onvoid/webrtc/client/PeerTests.java
+++ b/webrtc/src/test/java/dev/onvoid/webrtc/client/PeerTests.java
@@ -275,7 +275,7 @@ void joinOnEventThreadRefused() throws Exception {
assertInstanceOf(BlockingCallException.class, await(refused));
- // On Java 9 and later, so do the futures derived from them.
+ // So do the futures derived from them.
CompletableFuture derivedRefused = new CompletableFuture<>();
peers[1].onStateChange(state -> {
try {