diff --git a/sdg-core/pom.xml b/sdg-core/pom.xml
index e027b85b2fb0114824b9befd98b9cffdf13ef787..fb6d5b1fafaa341b13cda414fe4d4e147be89fa9 100644
--- a/sdg-core/pom.xml
+++ b/sdg-core/pom.xml
@@ -34,12 +34,12 @@
com.github.javaparser
javaparser-core
- 3.19.0
+ 3.20.2
com.github.javaparser
javaparser-symbol-solver-core
- 3.19.0
+ 3.20.2
org.jgrapht
diff --git a/sdg-core/src/main/java/es/upv/mist/slicing/nodes/VariableAction.java b/sdg-core/src/main/java/es/upv/mist/slicing/nodes/VariableAction.java
index 9a0fabbfde8cd9163bce15ba25861a7e8245f736..5c1b7e4c6fd2af6633918752e5f19d88a1812c93 100644
--- a/sdg-core/src/main/java/es/upv/mist/slicing/nodes/VariableAction.java
+++ b/sdg-core/src/main/java/es/upv/mist/slicing/nodes/VariableAction.java
@@ -5,7 +5,6 @@ import com.github.javaparser.resolution.Resolvable;
import com.github.javaparser.resolution.UnsolvedSymbolException;
import com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration;
import com.github.javaparser.resolution.declarations.ResolvedValueDeclaration;
-import com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserSymbolDeclaration;
import es.upv.mist.slicing.arcs.Arc;
import es.upv.mist.slicing.arcs.pdg.DataDependencyArc;
import es.upv.mist.slicing.graphs.Graph;
@@ -42,8 +41,6 @@ public abstract class VariableAction {
return PARAMETER;
if (resolved.isVariable())
return LOCAL_VARIABLE;
- if (resolved instanceof JavaParserSymbolDeclaration)
- return LOCAL_VARIABLE;
throw new IllegalArgumentException("Invalid resolved value declaration");
}