From c7f91724a692112a24ef49b7112a143fe9caa9df Mon Sep 17 00:00:00 2001 From: Till Schnell Date: Thu, 8 Apr 2021 18:54:16 +0200 Subject: [PATCH] remove rawtypes --- .../inferWildcards/TestInferWildcardsJavaTx.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java b/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java index 837265e8..38802c78 100644 --- a/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java +++ b/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java @@ -40,14 +40,15 @@ public class TestInferWildcardsJavaTx return visitor; } - private ConstraintSet getGeneratedConstraints (ReplaceTypeparamVisitor visitor) { + private ConstraintSet getGeneratedConstraints (ReplaceTypeparamVisitor visitor) { System.out.println("\nGenerated TPH:"); Map tphMap = visitor.getTphMap(); System.out.println(tphMap); return ConstraintsGenerationUtils.generateConstraints(tphMap); } - private ConstraintSet combineConstraints (JavaTXCompiler javaTXCompiler, ConstraintSet generatedConstraints) + private ConstraintSet combineConstraints (JavaTXCompiler javaTXCompiler, + ConstraintSet generatedConstraints) throws ClassNotFoundException, IOException { System.out.println("\nGenerated Constraints:"); ConstraintSet constraints = javaTXCompiler.getConstraints(); @@ -67,7 +68,7 @@ public class TestInferWildcardsJavaTx ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler); // Generate Constraints - ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); + ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); // System.out.println(generatedConstraints); // Constraints @@ -87,7 +88,7 @@ public class TestInferWildcardsJavaTx ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler); // Generate Constraints - ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); + ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); // System.out.println(generatedConstraints); // Constraints @@ -103,7 +104,7 @@ public class TestInferWildcardsJavaTx ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler); // Generate Constraints - ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); + ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); // System.out.println(generatedConstraints); // Constraints @@ -119,7 +120,7 @@ public class TestInferWildcardsJavaTx ReplaceTypeparamVisitor visitor = generateTph(javaTXCompiler); // Generate Constraints - ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); + ConstraintSet generatedConstraints = getGeneratedConstraints(visitor); // System.out.println(generatedConstraints); // Constraints