Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Neo4jsource
Commits
ec9d023a
Commit
ec9d023a
authored
7 years ago
by
Andrei Koval
Browse files
Options
Download
Email Patches
Plain Diff
Remove IntSet from CollectionsFactory
parent
72aa5683
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/CollectionsFactory.java
+0
-3
...neo4j/kernel/impl/util/collection/CollectionsFactory.java
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/OffHeapCollectionsFactory.java
+0
-8
...ernel/impl/util/collection/OffHeapCollectionsFactory.java
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/OnHeapCollectionsFactory.java
+0
-8
...kernel/impl/util/collection/OnHeapCollectionsFactory.java
community/kernel/src/test/java/org/neo4j/kernel/impl/api/KernelTransactionTestBase.java
+0
-7
.../org/neo4j/kernel/impl/api/KernelTransactionTestBase.java
with
0 additions
and
26 deletions
+0
-26
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/CollectionsFactory.java
+
0
-
3
View file @
ec9d023a
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/OffHeapCollectionsFactory.java
+
0
-
8
View file @
ec9d023a
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
community/kernel/src/main/java/org/neo4j/kernel/impl/util/collection/OnHeapCollectionsFactory.java
+
0
-
8
View file @
ec9d023a
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
community/kernel/src/test/java/org/neo4j/kernel/impl/api/KernelTransactionTestBase.java
+
0
-
7
View file @
ec9d023a
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment