Skip to content

Commit 1266b4c

Browse files
committed
minor fixes
1 parent 53d6d79 commit 1266b4c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

algo/src/main/java/org/neo4j/gds/beta/undirected/ToUndirectedFactory.java renamed to algo/src/main/java/org/neo4j/gds/beta/undirected/ToUndirectedAlgorithmFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import org.neo4j.gds.core.utils.progress.tasks.Task;
3333
import org.neo4j.gds.core.utils.progress.tasks.Tasks;
3434

35-
public class ToUndirectedFactory extends GraphStoreAlgorithmFactory<ToUndirected, ToUndirectedConfig> {
35+
public class ToUndirectedAlgorithmFactory extends GraphStoreAlgorithmFactory<ToUndirected, ToUndirectedConfig> {
3636

3737
@Override
3838
public ToUndirected build(

algo/src/test/java/org/neo4j/gds/beta/undirected/ToUndirectedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void shouldLogProgress() {
193193
.mutateRelationshipType("T2")
194194
.build();
195195

196-
ToUndirected toUndirected = new ToUndirectedFactory().build(
196+
ToUndirected toUndirected = new ToUndirectedAlgorithmFactory().build(
197197
directedGraphStore,
198198
config,
199199
log,

doc/modules/ROOT/pages/graph-catalog-relationship-ops.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ YIELD
194194
.Configuration
195195
[opts="header",cols="1,1,1,1,6"]
196196
|===
197-
| Name | Type | Optional | Default | Description
198-
| relationshipType | String | no | n/a | The relationship type to make undirected.
199-
| mutateRelationshipType | String | no | n/a | The relationship type to be added to the graph.
197+
| Name | Type | Default | Optional | Description
198+
| relationshipType | String | n/a | no | The relationship type to make undirected.
199+
| mutateRelationshipType | String | n/a | no | The relationship type to be added to the graph.
200200
include::partial$/algorithms/common-configuration/common-configuration-jobid-concurrency-entries.adoc[]
201201
|===
202202

proc/beta/src/main/java/org/neo4j/gds/beta/undirected/ToUndirectedSpec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import java.util.stream.Stream;
4141

4242
@GdsCallable(name = "gds.beta.graph.relationships.toUndirected", executionMode = ExecutionMode.MUTATE_RELATIONSHIP, description = ToUndirectedSpec.DESCRIPTION)
43-
public class ToUndirectedSpec implements AlgorithmSpec<ToUndirected, SingleTypeRelationshipImportResult, ToUndirectedConfig, Stream<ToUndirectedSpec.MutateResult>, ToUndirectedFactory> {
43+
public class ToUndirectedSpec implements AlgorithmSpec<ToUndirected, SingleTypeRelationshipImportResult, ToUndirectedConfig, Stream<ToUndirectedSpec.MutateResult>, ToUndirectedAlgorithmFactory> {
4444

4545
public static final String DESCRIPTION = "The ToUndirected procedure converts directed relationships to undirected relationships";
4646

@@ -50,8 +50,8 @@ public String name() {
5050
}
5151

5252
@Override
53-
public ToUndirectedFactory algorithmFactory() {
54-
return new ToUndirectedFactory();
53+
public ToUndirectedAlgorithmFactory algorithmFactory() {
54+
return new ToUndirectedAlgorithmFactory();
5555
}
5656

5757
@Override

0 commit comments

Comments
 (0)