From f4adccdbb12a8ecf48f80eb30109e38c2c40954f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:51:01 +0200 Subject: [PATCH] build(deps): update dependency org.jgrapht:jgrapht-core to v1 (#5961) --- spoon-control-flow/pom.xml | 2 +- .../fr/inria/controlflow/TransferFunctionVisitor.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spoon-control-flow/pom.xml b/spoon-control-flow/pom.xml index 57d9b474fde..1a4754b75cc 100644 --- a/spoon-control-flow/pom.xml +++ b/spoon-control-flow/pom.xml @@ -81,7 +81,7 @@ org.jgrapht jgrapht-core - 0.9.2 + 1.5.2 diff --git a/spoon-control-flow/src/main/java/fr/inria/controlflow/TransferFunctionVisitor.java b/spoon-control-flow/src/main/java/fr/inria/controlflow/TransferFunctionVisitor.java index deb4dd99f6e..550a995cd68 100644 --- a/spoon-control-flow/src/main/java/fr/inria/controlflow/TransferFunctionVisitor.java +++ b/spoon-control-flow/src/main/java/fr/inria/controlflow/TransferFunctionVisitor.java @@ -21,7 +21,7 @@ */ package fr.inria.controlflow; -import org.jgrapht.DirectedGraph; +import org.jgrapht.Graph; import spoon.reflect.code.CtStatement; import spoon.reflect.declaration.CtElement; import spoon.reflect.visitor.CtVisitor; @@ -41,18 +41,18 @@ public abstract class TransferFunctionVisitor implements CtVisitor { /** * Control graph over the data flow is being exists */ - DirectedGraph controlGraph; + Graph controlGraph; /** * Outputs of the statement calling the transfer. */ protected List output; - public DirectedGraph getControlGraph() { + public Graph getControlGraph() { return controlGraph; } - public void setControlGraph(DirectedGraph controlGraph) { + public void setControlGraph(Graph controlGraph) { this.controlGraph = controlGraph; }