From 78e3b76dc3809799f78fce8c9a82b79cd3e96c1c Mon Sep 17 00:00:00 2001 From: Till Schnell Date: Sat, 10 Apr 2021 10:42:28 +0200 Subject: [PATCH] make test functions static --- src/test/java/inferWildcards/TestInferWildcardsJavaTx.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java b/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java index 240cd756..138ca730 100644 --- a/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java +++ b/src/test/java/inferWildcards/TestInferWildcardsJavaTx.java @@ -32,20 +32,20 @@ public class TestInferWildcardsJavaTx return new JavaTXCompiler(files1); } - private Map generateTph (JavaTXCompiler javaTXCompiler) { + private static Map generateTph (JavaTXCompiler javaTXCompiler) { System.out.println("\nReplacements:"); return TypePlaceholderReplaceUtils.generateTypePlaceholder(javaTXCompiler); } - private ConstraintSet getGeneratedConstraints (Map tphMap) { + private static ConstraintSet getGeneratedConstraints (Map tphMap) { System.out.println("\nGenerated TPH:"); System.out.println(tphMap); return ConstraintsGenerationUtils.generateConstraints(tphMap); } - private ConstraintSet combineConstraints (JavaTXCompiler javaTXCompiler, + private static ConstraintSet combineConstraints (JavaTXCompiler javaTXCompiler, ConstraintSet generatedConstraints) throws ClassNotFoundException, IOException { System.out.println("\nGenerated Constraints:");