summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-12-06 06:58:55 -0800
committerJon Bratseth <bratseth@oath.com>2018-12-06 06:58:55 -0800
commit06c78b943711d504aa22d3239208323c0d34ad4e (patch)
treefa2e5d3c781055da065e33c17919a2e807c6bbee /vespa-http-client
parent65d6c4a70969e0ced79700f300d4633fd5419a87 (diff)
Specify type
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) {