From cc6156695d18d0e8c571ea5d9952f3f450ceb1a3 Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Mon, 13 Apr 2020 16:22:10 +0200 Subject: [PATCH] modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java INSTANCE auf sich selber geloescht --- src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java index 2b5c76fb..e1cd3063 100644 --- a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java +++ b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java @@ -48,7 +48,7 @@ import java.util.stream.Collectors; public class JavaTXCompiler { - public static JavaTXCompiler INSTANCE; + //public static JavaTXCompiler INSTANCE; final CompilationEnvironment environment; Boolean resultmodel = true; public final Map sourceFiles = new HashMap<>(); @@ -57,13 +57,13 @@ public class JavaTXCompiler { public JavaTXCompiler(File sourceFile) throws IOException, ClassNotFoundException { this(Arrays.asList(sourceFile)); - INSTANCE = this; + //INSTANCE = this; } public JavaTXCompiler(File sourceFile, Boolean log) throws IOException, ClassNotFoundException { this(sourceFile); this.log = log; - INSTANCE = this; + //INSTANCE = this; } public JavaTXCompiler(List sources) throws IOException, ClassNotFoundException { @@ -71,7 +71,7 @@ public class JavaTXCompiler { for (File s : sources) { sourceFiles.put(s, parse(s)); } - INSTANCE = this; + //INSTANCE = this; } public ConstraintSet getConstraints() throws ClassNotFoundException {