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); }