diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-12-06 06:58:55 -0800 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-12-06 06:58:55 -0800 |
commit | 06c78b943711d504aa22d3239208323c0d34ad4e (patch) | |
tree | fa2e5d3c781055da065e33c17919a2e807c6bbee /vespa-http-client | |
parent | 65d6c4a70969e0ced79700f300d4633fd5419a87 (diff) |
Specify type
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SyncFeedClient.java | 3 |
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) { |