diff --git a/pom.xml b/pom.xml index b90b76e2..f6a1fc87 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> JavaTXcompiler jar - 0.1 + 0.2 JavaTXcompiler http://maven.apache.org @@ -127,7 +127,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> - de.dhbwstuttgart:JavaTXcompiler:0.1 + de.dhbwstuttgart:JavaTXcompiler:0.2 org.reflections:reflections:0.9.11 diff --git a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java index e52cb826..7860fae9 100644 --- a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java +++ b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java @@ -60,6 +60,11 @@ public class JavaTXCompiler { public final Map sourceFiles = new HashMap<>(); Boolean log = true; //gibt an ob ein Log-File nach System.getProperty("user.dir")+"src/test/java/logFiles" geschrieben werden soll? + /** + * Äußerste Liste der Source-Files. + * Danach Liste der Klassen in Source File. + * Danach Map Klassenname + */ private List>> simplifyResultsSF = new ArrayList<>(); public JavaTXCompiler(File sourceFile) throws IOException, ClassNotFoundException { diff --git a/src/main/java/de/dhbwstuttgart/typedeployment/TypeInsertFactory.java b/src/main/java/de/dhbwstuttgart/typedeployment/TypeInsertFactory.java index 8834f859..a2abf30b 100644 --- a/src/main/java/de/dhbwstuttgart/typedeployment/TypeInsertFactory.java +++ b/src/main/java/de/dhbwstuttgart/typedeployment/TypeInsertFactory.java @@ -32,7 +32,7 @@ public class TypeInsertFactory { ResolvedType resolvedType = resultSet.resolveType(type); TypeInsertPoint insertPoint = new TypeInsertPoint(offset, new TypeToInsertString(resolvedType.resolvedType).insert); - return new TypeInsert(insertPoint, new HashSet<>(Arrays.asList(createGenericInsert(resolvedType.additionalGenerics, cl, m)))); + return new TypeInsert(insertPoint, new HashSet<>()); } private static TypeInsertPoint createGenericInsert(Set toInsert, ClassOrInterface cl, Method m){