summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java3
1 files changed, 1 insertions, 2 deletions
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<String, Result> results = null;
+ private LinkedHashMap<String, Result> results = null;
void expectResultsOf(List<SyncOperation> operations) {
synchronized (monitor) {