Skip to content

Commit 9e5c7a8

Browse files
committed
Remove unnecessary code
1 parent a29af73 commit 9e5c7a8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

proc/path-finding/src/main/java/org/neo4j/gds/paths/singlesource/delta/AllShortestPathsDeltaStatsProc.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@
2222
import org.neo4j.gds.BaseProc;
2323
import org.neo4j.gds.executor.MemoryEstimationExecutor;
2424
import org.neo4j.gds.executor.ProcedureExecutor;
25-
import org.neo4j.gds.executor.ProcedureExecutorSpec;
2625
import org.neo4j.gds.paths.delta.DeltaStepping;
27-
import org.neo4j.gds.paths.delta.config.AllShortestPathsDeltaStatsConfig;
28-
import org.neo4j.gds.paths.dijkstra.DijkstraResult;
2926
import org.neo4j.gds.results.MemoryEstimateResult;
3027
import org.neo4j.gds.results.StandardStatsResult;
3128
import org.neo4j.procedure.Description;
@@ -46,11 +43,9 @@ public Stream<StandardStatsResult> stats(
4643
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
4744
) {
4845
var statsSpec = new AllShortestPathsDeltaStatsSpec();
49-
var pipelineSpec = new ProcedureExecutorSpec<DeltaStepping, DijkstraResult, AllShortestPathsDeltaStatsConfig>();
5046

5147
return new ProcedureExecutor<>(
5248
statsSpec,
53-
pipelineSpec,
5449
executionContext()
5550
).compute(graphName, configuration, false, false);
5651
}
@@ -62,11 +57,9 @@ public Stream<MemoryEstimateResult> estimate(
6257
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
6358
) {
6459
var statsSpec = new AllShortestPathsDeltaStatsSpec();
65-
var pipelineSpec = new ProcedureExecutorSpec<DeltaStepping, DijkstraResult, AllShortestPathsDeltaStatsConfig>();
6660

6761
return new MemoryEstimationExecutor<>(
6862
statsSpec,
69-
pipelineSpec,
7063
executionContext()
7164
).computeEstimate(graphNameOrConfiguration, algoConfiguration);
7265
}

0 commit comments

Comments
 (0)