diff --git a/cloudpg/build.gradle.kts b/cloudpg/build.gradle.kts index ce00464..96531d0 100644 --- a/cloudpg/build.gradle.kts +++ b/cloudpg/build.gradle.kts @@ -70,15 +70,18 @@ repositories { dependencies { implementation("org.junit.jupiter:junit-jupiter:5.7.0") + val version = "8.1.2" + implementation("com.github.Fraunhofer-AISEC.cpg:cpg:0198042dad") + implementation("de.fraunhofer.aisec:cpg-language-typescript:$version") - implementation("de.fraunhofer.aisec:cpg-core:$version") + /*implementation("de.fraunhofer.aisec:cpg-core:$version") implementation("de.fraunhofer.aisec:cpg-analysis:$version") implementation("de.fraunhofer.aisec:cpg-language-go:$version") - implementation("de.fraunhofer.aisec:cpg-language-python:$version") + implementation("com.github.Fraunhofer-AISEC:cpg:0198042dad") implementation("de.fraunhofer.aisec:cpg-language-typescript:$version") implementation("de.fraunhofer.aisec:cpg-language-java:$version") - implementation("de.fraunhofer.aisec:cpg-language-cxx:$version") + implementation("de.fraunhofer.aisec:cpg-language-cxx:$version")*/ implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.+") implementation ("org.xmlunit:xmlunit-core:2.9.0") diff --git a/cloudpg/src/main/java/io/clouditor/graph/App.kt b/cloudpg/src/main/java/io/clouditor/graph/App.kt index 337c31d..2bebcf2 100644 --- a/cloudpg/src/main/java/io/clouditor/graph/App.kt +++ b/cloudpg/src/main/java/io/clouditor/graph/App.kt @@ -23,7 +23,6 @@ import io.clouditor.graph.passes.python.* import io.clouditor.graph.testing.LocalTestingPass import java.nio.file.Path import java.util.concurrent.Callable -import kotlin.streams.toList import kotlin.system.exitProcess import org.neo4j.ogm.config.Configuration import org.neo4j.ogm.session.SessionFactory diff --git a/cloudpg/src/main/java/io/clouditor/graph/passes/LabelExtractionPass.kt b/cloudpg/src/main/java/io/clouditor/graph/passes/LabelExtractionPass.kt index 705bdcb..6b4e9db 100644 --- a/cloudpg/src/main/java/io/clouditor/graph/passes/LabelExtractionPass.kt +++ b/cloudpg/src/main/java/io/clouditor/graph/passes/LabelExtractionPass.kt @@ -59,7 +59,7 @@ class LabelExtractionPass(ctx: TranslationContext) : TranslationResultPass(ctx) } } - // Labels that are equal to each other are merged to reduce them in size and and allow + // Labels that are equal to each other are merged to reduce them in size and allow // associating them to Anonymization label mergeEqualLabels(t) // Connects labels and anonymization labels such that anonymization of labels can be @@ -323,7 +323,7 @@ class LabelExtractionPass(ctx: TranslationContext) : TranslationResultPass(ctx) } /** - * Function to just add labels to the annotated node, the type of Label can me specified through + * Function to just add labels to the annotated node, the type of Label can be specified through * the generic type specialization. Nodes that are in the Sub-AST of the annotated node, and * have an outgoing DFG-edge to another node not in the annotated nodes Sub-AST. */