Merge pull request #4792 from Abextm/cache-ordering

cache: Do not depend on Index insertion ordering
This commit is contained in:
Abex
2018-08-30 20:16:31 -06:00
committed by GitHub

View File

@@ -133,7 +133,7 @@ public final class Store implements Closeable
public Index getIndex(IndexType type) public Index getIndex(IndexType type)
{ {
return indexes.get(type.getNumber()); return findIndex(type.getNumber());
} }
public Index findIndex(int id) public Index findIndex(int id)