diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2021-12-08 15:00:07 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2021-12-08 15:00:07 +0100 |
commit | 4f11c490da2bee48a40e80cfbbfda9914457043c (patch) | |
tree | f2f784afe2c80bc04b2b32b5b588ac65f5643226 /container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java | |
parent | 92fb7c5a6b124a9f384ed54cb5be166c14a5e910 (diff) |
Deprecate methods using Guava ListenableFuture
- com.yahoo.processing.Response.recursiveComplete()
- com.yahoo.processing.response.DataList.complete()
- com.yahoo.processing.response.IncomingData.completed()
Also fixes bug in FutureResponse where `get()` does not return value produced by async task.
Diffstat (limited to 'container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java')
-rw-r--r-- | container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java b/container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java index 0f16aed3d0b..efcf608b6f0 100644 --- a/container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java +++ b/container-core/src/test/java/com/yahoo/processing/ResponseTestCase.java @@ -22,7 +22,7 @@ public class ResponseTestCase { * Check the recursive toString printing along the way. * List variable names ends by numbers specifying the index of the list at each level. */ - @SuppressWarnings("unchecked") + @SuppressWarnings({"unchecked", "removal"}) @Test public void testRecursiveCompletionAndToString() throws InterruptedException, ExecutionException { // create lists |