cache: Do not depend on Index insertion ordering
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user