Commit ec9d023a authored by Andrei Koval's avatar Andrei Koval
Browse files

Remove IntSet from CollectionsFactory

parent 72aa5683
Showing with 0 additions and 26 deletions
+0 -26
......@@ -21,7 +21,6 @@ package org.neo4j.kernel.impl.util.collection;
import org.eclipse.collections.api.map.primitive.MutableIntObjectMap;
import org.eclipse.collections.api.map.primitive.MutableLongObjectMap;
import org.eclipse.collections.api.set.primitive.MutableIntSet;
import org.eclipse.collections.api.set.primitive.MutableLongSet;
import org.neo4j.kernel.impl.api.state.TxState;
......@@ -36,8 +35,6 @@ public interface CollectionsFactory
{
MutableLongSet newLongSet();
MutableIntSet newIntSet();
<V> MutableLongObjectMap<V> newLongObjectMap();
<V> MutableIntObjectMap<V> newIntObjectMap();
......
......@@ -21,11 +21,9 @@ package org.neo4j.kernel.impl.util.collection;
import org.eclipse.collections.api.map.primitive.MutableIntObjectMap;
import org.eclipse.collections.api.map.primitive.MutableLongObjectMap;
import org.eclipse.collections.api.set.primitive.MutableIntSet;
import org.eclipse.collections.api.set.primitive.MutableLongSet;
import org.eclipse.collections.impl.map.mutable.primitive.IntObjectHashMap;
import org.eclipse.collections.impl.map.mutable.primitive.LongObjectHashMap;
import org.eclipse.collections.impl.set.mutable.primitive.IntHashSet;
import org.eclipse.collections.impl.set.mutable.primitive.LongHashSet;
import org.neo4j.kernel.impl.util.diffsets.MutableLongDiffSetsImpl;
......@@ -49,12 +47,6 @@ class OffHeapCollectionsFactory implements CollectionsFactory
return new LongHashSet();
}
@Override
public MutableIntSet newIntSet()
{
return new IntHashSet();
}
@Override
public <V> MutableLongObjectMap<V> newLongObjectMap()
{
......
......@@ -21,11 +21,9 @@ package org.neo4j.kernel.impl.util.collection;
import org.eclipse.collections.api.map.primitive.MutableIntObjectMap;
import org.eclipse.collections.api.map.primitive.MutableLongObjectMap;
import org.eclipse.collections.api.set.primitive.MutableIntSet;
import org.eclipse.collections.api.set.primitive.MutableLongSet;
import org.eclipse.collections.impl.map.mutable.primitive.IntObjectHashMap;
import org.eclipse.collections.impl.map.mutable.primitive.LongObjectHashMap;
import org.eclipse.collections.impl.set.mutable.primitive.IntHashSet;
import org.eclipse.collections.impl.set.mutable.primitive.LongHashSet;
import org.neo4j.kernel.impl.util.diffsets.MutableLongDiffSetsImpl;
......@@ -46,12 +44,6 @@ public class OnHeapCollectionsFactory implements CollectionsFactory
return new LongHashSet();
}
@Override
public MutableIntSet newIntSet()
{
return new IntHashSet();
}
@Override
public <V> MutableLongObjectMap<V> newLongObjectMap()
{
......
......@@ -21,7 +21,6 @@ package org.neo4j.kernel.impl.api;
import org.eclipse.collections.api.map.primitive.MutableIntObjectMap;
import org.eclipse.collections.api.map.primitive.MutableLongObjectMap;
import org.eclipse.collections.api.set.primitive.MutableIntSet;
import org.eclipse.collections.api.set.primitive.MutableLongSet;
import org.junit.Before;
import org.mockito.Mockito;
......@@ -197,12 +196,6 @@ public class KernelTransactionTestBase
return OnHeapCollectionsFactory.INSTANCE.newLongSet();
}
@Override
public MutableIntSet newIntSet()
{
return OnHeapCollectionsFactory.INSTANCE.newIntSet();
}
@Override
public <V> MutableLongObjectMap<V> newLongObjectMap()
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment