diff --git a/src/test/resources/inferWildcards/TestClassWildcardsParamType.java b/src/test/resources/inferWildcards/TestClassWildcardsParamType.java index 702440d7..95582410 100644 --- a/src/test/resources/inferWildcards/TestClassWildcardsParamType.java +++ b/src/test/resources/inferWildcards/TestClassWildcardsParamType.java @@ -11,13 +11,13 @@ public final class TestClassWildcardsParamType { } public static TestClassWildcardsParamType of(T1 first, T2 second) { - return new TestClassWildcardsParamType(first, second); + return new TestClassWildcardsParamType<>(first, second); } public static void main(String[] agrs) { TestClassWildcardsParamType, String> pair = TestClassWildcardsParamType.of(List.class, "hello"); - - //Outout of compiler + + //Output of compiler //TestClassWildcardsParamType, String> pair = TestClassWildcardsParamType.of(List.class, "hello"); } } \ No newline at end of file