Skip to content

Commit

Permalink
Removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Koval committed Feb 19, 2018
1 parent 68e9bc0 commit ce4767d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1,528 deletions.
Expand Up @@ -19,6 +19,7 @@
*/
package org.neo4j.unsafe.impl.batchimport;

import org.apache.commons.lang3.ArrayUtils;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.RuleChain;
Expand Down Expand Up @@ -112,7 +113,7 @@ public void shouldDeleteEverythingAboutTheDuplicatedNodes() throws Exception
int expectedProperties = 0;
for ( Ids entity : ids )
{
boolean expectedToBeInUse = !PrimitiveLongCollections.contains( duplicateNodeIds, entity.node.getId() );
boolean expectedToBeInUse = !ArrayUtils.contains( duplicateNodeIds, entity.node.getId() );
int stride = expectedToBeInUse ? 1 : 0;
expectedNodes += stride;

Expand Down

0 comments on commit ce4767d

Please sign in to comment.