From a1514a655c9636e43a1391e4b3f1125a26ecb2ce Mon Sep 17 00:00:00 2001 From: Marco Brandizi Date: Mon, 28 Aug 2023 23:27:34 +0100 Subject: [PATCH] Removing redundant code. --- .../neo4j/load/support/CyRelationLoadingProcessor.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rdf2neo/src/main/java/uk/ac/rothamsted/kg/rdf2pg/neo4j/load/support/CyRelationLoadingProcessor.java b/rdf2neo/src/main/java/uk/ac/rothamsted/kg/rdf2pg/neo4j/load/support/CyRelationLoadingProcessor.java index 5aa63f0..ef1d759 100644 --- a/rdf2neo/src/main/java/uk/ac/rothamsted/kg/rdf2pg/neo4j/load/support/CyRelationLoadingProcessor.java +++ b/rdf2neo/src/main/java/uk/ac/rothamsted/kg/rdf2pg/neo4j/load/support/CyRelationLoadingProcessor.java @@ -2,14 +2,12 @@ import java.util.function.Consumer; -import org.apache.jena.query.QuerySolution; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import uk.ac.rothamsted.kg.rdf2pg.pgmaker.support.PGRelationMakeProcessor; import uk.ac.rothamsted.kg.rdf2pg.pgmaker.support.entities.PGRelation; -import uk.ac.rothamsted.kg.rdf2pg.pgmaker.support.rdf.RdfDataManager; /** *

The Relation Loading processor for Neo4j

@@ -35,8 +33,8 @@ public CyRelationLoadingProcessor () * This takes the relations mapped via {@link CyRelationLoadingHandler#getRelationTypesSparql()} and creates * sets of {@link QuerySolution}s that are sent to {@link CyRelationLoadingHandler} tasks. * - * TODO: the parent's implementation is identical, apart from the log messages. - */ + * TODO: remove. The parent's implementation is identical, apart from the log messages. + * public void process ( RdfDataManager rdfMgr, Object...opts ) { log.info ( "Starting Cypher Relations Loading" ); @@ -50,7 +48,7 @@ public void process ( RdfDataManager rdfMgr, Object...opts ) super.process ( relIriProcessor ); log.info ( "Cypher Relations Loading ended" ); - } + }*/ /** * Does nothing but invoking {@link #setBatchJob(Consumer)}. It's here just to accommodate Spring annotations.