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 {