From 8451fd91feaddfcb980c78bb7eefb3023dcbd63b Mon Sep 17 00:00:00 2001 From: tb06904 <141412860+tb06904@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:33:04 +0000 Subject: [PATCH] remove deprecated parameter --- .../tinkerpop/process/traversal/step/GafferPopGraphStep.java | 1 - .../gov/gchq/gaffer/rest/controller/GremlinControllerTest.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/library/tinkerpop/src/main/java/uk/gov/gchq/gaffer/tinkerpop/process/traversal/step/GafferPopGraphStep.java b/library/tinkerpop/src/main/java/uk/gov/gchq/gaffer/tinkerpop/process/traversal/step/GafferPopGraphStep.java index 5d20e5fd8f9..a29a9128d78 100644 --- a/library/tinkerpop/src/main/java/uk/gov/gchq/gaffer/tinkerpop/process/traversal/step/GafferPopGraphStep.java +++ b/library/tinkerpop/src/main/java/uk/gov/gchq/gaffer/tinkerpop/process/traversal/step/GafferPopGraphStep.java @@ -70,7 +70,6 @@ public GafferPopGraphStep(final GraphStep originalGraphStep) { super(originalGraphStep.getTraversal(), originalGraphStep.getReturnClass(), originalGraphStep.isStartStep(), originalGraphStep.getIds()); LOGGER.debug("Running custom GraphStep on GafferPopGraph"); this.labels = originalGraphStep.getLabels(); - this.parameters = originalGraphStep.getParameters(); // Save reference to the graph GafferPopGraph graph = (GafferPopGraph) originalGraphStep.getTraversal().getGraph().get(); diff --git a/rest-api/spring-rest/src/test/java/uk/gov/gchq/gaffer/rest/controller/GremlinControllerTest.java b/rest-api/spring-rest/src/test/java/uk/gov/gchq/gaffer/rest/controller/GremlinControllerTest.java index 34387c8ef07..1b271b9bb13 100644 --- a/rest-api/spring-rest/src/test/java/uk/gov/gchq/gaffer/rest/controller/GremlinControllerTest.java +++ b/rest-api/spring-rest/src/test/java/uk/gov/gchq/gaffer/rest/controller/GremlinControllerTest.java @@ -274,7 +274,7 @@ void shouldReturnExplainOfValidCypherQuery() throws Exception { @Test void shouldReturnExplainOfCypherQueryWithExtensions() throws Exception { // Given (uses the toInteger custom function) - String cypherString = "MATCH (p:person) WHERE p.age > toInteger(22) RETURN p"; + String cypherString = "MATCH (p:person) WHERE p.age > toInteger(22) RETURN p.name"; List expectedOperations = Arrays.asList(GetAllElements.class.getName(), Limit.class.getName());