Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
IoannisPanagiotas committed Jul 17, 2024
1 parent b27050a commit 54d627d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package org.neo4j.gds.algorithms.similarity;

import org.neo4j.gds.api.Graph;
import org.neo4j.gds.api.GraphStore;
import org.neo4j.gds.api.IdMap;
import org.neo4j.gds.api.RelationshipWithPropertyConsumer;
import org.neo4j.gds.api.ResultStore;
Expand All @@ -36,14 +35,13 @@
import java.util.Optional;
import java.util.concurrent.atomic.AtomicLong;

public final class Neo4jDatabaseRelationshipWriter {
public static WriteRelationshipResult writeRelationship(
final class Neo4jDatabaseRelationshipWriter {
static WriteRelationshipResult writeRelationship(
String writeRelationshipType,
String writeProperty,
TaskRegistryFactory taskRegistryFactory,
RelationshipExporterBuilder relationshipExporterBuilder,
Graph graph,
GraphStore graphStore,
IdMap rootIdMap,
Log log,
String taskName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package org.neo4j.gds.algorithms.similarity;

import org.neo4j.gds.api.Graph;
import org.neo4j.gds.api.GraphStore;
import org.neo4j.gds.api.IdMap;
import org.neo4j.gds.api.RelationshipWithPropertyConsumer;
import org.neo4j.gds.api.ResultStore;
Expand All @@ -46,7 +45,6 @@ public WriteRelationshipResult write(
String writeRelationshipType,
String writeProperty,
Graph graph,
GraphStore graphStore,
IdMap rootIdMap,
String taskName,
Optional<ResultStore> resultStore,
Expand All @@ -59,7 +57,6 @@ public WriteRelationshipResult write(
requestScopedDependencies.getTaskRegistryFactory(),
writeContext.getRelationshipExporterBuilder(),
graph,
graphStore,
rootIdMap,
log,
taskName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ Pair<RelationshipsWritten, Map<String, Object>> execute(
writeRelationshipConfiguration.writeRelationshipType(),
writePropertyConfiguration.writeProperty(),
similarityGraph,
graphStore,
rootIdMap,
label.value,
resultStore,
Expand Down

0 comments on commit 54d627d

Please sign in to comment.