Fix incorrect usage of mapReturnType in param assertions

This commit is contained in:
Alexander Udalov
2013-12-26 18:50:41 +04:00
parent 2553cd1907
commit d8c5b0236d
3 changed files with 15 additions and 9 deletions
@@ -2,13 +2,13 @@ package test;
import org.jetbrains.annotations.NotNull;
public abstract class doGenerateParamAssertions {
public abstract class doGenerateParamAssertions<Type> {
public abstract void bar(@NotNull String s);
public abstract void doTest(@NotNull Type s);
public static void foo(doGenerateParamAssertions a) {
public static void runTest(doGenerateParamAssertions a) {
try {
a.bar(null);
a.doTest(null);
} catch (IllegalArgumentException e) {
return;
}