diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-06-08 13:40:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 13:40:36 +0200 |
commit | 14ceb2e5596a30d63a0ae3ea6262f2f41bed93e7 (patch) | |
tree | aca4d958553771a589ec9c423f11725460a5d011 /container-core/src/main/java/com/yahoo/processing/response/IncomingData.java | |
parent | bba749743bc02b396298579fdf4e076bc8f8c196 (diff) | |
parent | c264cd1c50c81a46eaf11c52a144274bf8cc2f95 (diff) |
Merge pull request #22993 from vespa-engine/8
8 MERGEOK
Diffstat (limited to 'container-core/src/main/java/com/yahoo/processing/response/IncomingData.java')
-rw-r--r-- | container-core/src/main/java/com/yahoo/processing/response/IncomingData.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/response/IncomingData.java b/container-core/src/main/java/com/yahoo/processing/response/IncomingData.java index 54ba0fa8031..fc0e6d21e13 100644 --- a/container-core/src/main/java/com/yahoo/processing/response/IncomingData.java +++ b/container-core/src/main/java/com/yahoo/processing/response/IncomingData.java @@ -1,8 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.processing.response; -import com.google.common.util.concurrent.ListenableFuture; -import com.yahoo.concurrent.CompletableFutures; import com.yahoo.processing.impl.ProcessingFuture; import java.util.Collections; @@ -39,10 +37,6 @@ public interface IncomingData<DATATYPE extends Data> { */ CompletableFuture<DataList<DATATYPE>> completedFuture(); - /** @deprecated Use {@link #completedFuture()} instead */ - @Deprecated(forRemoval = true, since = "7") - ListenableFuture<DataList<DATATYPE>> completed(); - /** * Returns whether this is complete */ @@ -114,13 +108,6 @@ public interface IncomingData<DATATYPE extends Data> { completionFuture = new ImmediateFuture<>(owner); } - @Override - @SuppressWarnings("removal") - @Deprecated(forRemoval = true, since = "7") - public ListenableFuture<DataList<DATATYPE>> completed() { - return CompletableFutures.toGuavaListenableFuture(completionFuture); - } - @Override public CompletableFuture<DataList<DATATYPE>> completedFuture() { return completionFuture; } @Override |