Commit ce166a7d authored by jacosro's avatar jacosro
Browse files

Updated pom.xml and added MANIFEST

parent e68a2d42
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

.idea

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml

META-INF/MANIFEST.MF

0 → 100644
+1 −0
Original line number Diff line number Diff line
Manifest-Version: 1.0

pom.xml

0 → 100644
+20 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>tfm</groupId>
    <artifactId>tfm</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
    </properties>

    <modules>
        <module>sdg-core</module>
        <module>sdg-cli</module>
    </modules>
</project>
+6 −0
Original line number Diff line number Diff line
@@ -19,10 +19,16 @@
            <artifactId>commons-cli</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>com.github.javaparser</groupId>
            <artifactId>javaparser-core</artifactId>
            <version>3.9.1</version>
        </dependency>
        <dependency>
            <groupId>tfm</groupId>
            <artifactId>sdg-core</artifactId>
            <version>1.0-SNAPSHOT</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
</project>
+0 −12
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ import tfm.arcs.pdg.ControlDependencyArc;
import tfm.arcs.pdg.DataDependencyArc;
import tfm.arcs.sdg.CallArc;
import tfm.arcs.sdg.ParameterInOutArc;
import tfm.arcs.sdg.ReturnArc;
import tfm.arcs.sdg.SummaryArc;
import tfm.nodes.GraphNode;

@@ -95,17 +94,6 @@ public abstract class Arc extends DefaultEdge {
        throw new UnsupportedOperationException("Not a ParameterInOutArc");
    }

    /** @see ReturnArc */
    public final boolean isReturnArc() {
        return this instanceof ReturnArc;
    }

    public final ReturnArc asReturnArc() {
        if (isReturnArc())
            return (ReturnArc) this;
        throw new UnsupportedOperationException("Not a ReturnArc");
    }

    /** @see SummaryArc */
    public final boolean isSummaryArc() {
        return this instanceof SummaryArc;
Loading