Revert "cache service: use an identity hashmap as equals checks archive contents"

This reverts commit 1b46911dea9e8362c16de89952c5c4becfdc4e43.
This commit is contained in:
Adam
2018-01-19 14:12:40 -05:00
parent 00480e6030
commit 057327463e

View File

@@ -29,7 +29,7 @@ import io.minio.errors.InvalidEndpointException;
import io.minio.errors.InvalidPortException;
import java.io.IOException;
import java.time.Instant;
import java.util.IdentityHashMap;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutorService;
@@ -105,7 +105,7 @@ public class CacheUpdater
CacheClient client = new CacheClient(store, rsVersion, new DownloadWatcher()
{
private final Map<Index, IndexEntry> indexEntryMap = new IdentityHashMap<>();
private final Map<Index, IndexEntry> indexEntryMap = new HashMap<>();
@Override
public void indexComplete(Index index)