From 723eca86581721472841822ea33f9f0ba41bebe2 Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Tue, 14 Apr 2020 18:28:16 +0200 Subject: [PATCH] modified: src/test/java/typeinference/JavaTXCompilerTest.java modified: src/test/resources/javFiles/IfTest.jav modified: src/test/resources/javFiles/ListenerOverload.jav modified: src/test/resources/javFiles/fc.jav --- src/test/java/typeinference/JavaTXCompilerTest.java | 2 +- src/test/resources/javFiles/IfTest.jav | 2 +- src/test/resources/javFiles/ListenerOverload.jav | 6 +++--- src/test/resources/javFiles/fc.jav | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/typeinference/JavaTXCompilerTest.java b/src/test/java/typeinference/JavaTXCompilerTest.java index 6df27e796..91446744a 100644 --- a/src/test/java/typeinference/JavaTXCompilerTest.java +++ b/src/test/java/typeinference/JavaTXCompilerTest.java @@ -135,7 +135,7 @@ public class JavaTXCompilerTest { } List results = compiler.typeInference(); List simplifyResultsForAllSourceFiles = compiler.getGeneratedGenericResultsForAllSourceFiles(results); - + //compiler.generateBytecode(rootDirectory+"xxx.class", results, simplifyResultsForAllSourceFiles); for(File f : compiler.sourceFiles.keySet()){ SourceFile sf = compiler.sourceFiles.get(f); System.out.println(ASTTypePrinter.print(sf)); diff --git a/src/test/resources/javFiles/IfTest.jav b/src/test/resources/javFiles/IfTest.jav index 1e1141df2..88885561b 100644 --- a/src/test/resources/javFiles/IfTest.jav +++ b/src/test/resources/javFiles/IfTest.jav @@ -2,7 +2,7 @@ import java.lang.Integer; import java.lang.Boolean; import java.lang.Object; -public class IfTest{ +public class IfTest { Object m1(b) { Integer i; if(b) { diff --git a/src/test/resources/javFiles/ListenerOverload.jav b/src/test/resources/javFiles/ListenerOverload.jav index e1a8d65d8..00a5e6052 100644 --- a/src/test/resources/javFiles/ListenerOverload.jav +++ b/src/test/resources/javFiles/ListenerOverload.jav @@ -14,7 +14,7 @@ call(String s){} } -class Pair{ - A left; - B right; +class Pair{ + left; + right; } \ No newline at end of file diff --git a/src/test/resources/javFiles/fc.jav b/src/test/resources/javFiles/fc.jav index a3278cbcc..b387cb912 100644 --- a/src/test/resources/javFiles/fc.jav +++ b/src/test/resources/javFiles/fc.jav @@ -8,7 +8,7 @@ class Test{ } interface Klasse1{ - Klasse1 meth(List p); + Klasse1 meth(p); Klasse1 meth(Klasse2 p); }