From 06c78b943711d504aa22d3239208323c0d34ad4e Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Thu, 6 Dec 2018 06:58:55 -0800 Subject: Specify type --- .../src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vespa-http-client') diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java index 5375b19afdf..c0928cad556 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java @@ -9,7 +9,6 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Objects; -import java.util.concurrent.ConcurrentHashMap; /** * A utility wrapper of a FeedClient which feeds a list of documents and blocks until all responses are returned, @@ -117,7 +116,7 @@ public class SyncFeedClient implements AutoCloseable { * A map from document ids to their results. This is initially populated with null values to keep track of * which responses we are waiting for. */ - private Map results = null; + private LinkedHashMap results = null; void expectResultsOf(List operations) { synchronized (monitor) { -- cgit v1.2.3