[tests] prepares Java tests for the language level raise

This commit is contained in:
Roman Shevchenko
2017-03-24 13:09:47 +01:00
parent 05b15f593e
commit 6bd1b92c6e
38 changed files with 129 additions and 166 deletions

View File

@@ -21,6 +21,6 @@ class Main {
public interface Fun<T, R> {
public R _(T t);
public R f(T t);
}
}
}

View File

@@ -9,6 +9,6 @@ class Main {
}
interface Fun<T, R> {
R _(T t);
R f(T t);
}
}

View File

@@ -20,7 +20,7 @@ class Main {
}
interface Fun<T, R> {
R _(T t);
R f(T t);
}
}

View File

@@ -9,12 +9,12 @@ class Main2 {
}
interface Fun<T, R> {
R _(T t);
R f(T t);
}
class Foo<K> implements Fun<K, Integer> {
@Override
public Integer _(K k) {
public Integer f(K k) {
return null;
}
}

View File

@@ -19,6 +19,6 @@ class Main {
}
interface Fun<T, R> {
R _(T t);
R f(T t);
}
}