AddExceptionToExistingCatchClause: remove unrelated to java 6 test

This commit is contained in:
Roman.Ivanov
2019-04-09 14:12:34 +07:00
parent 01af08719c
commit 46ae614bd3
2 changed files with 0 additions and 32 deletions
@@ -1,16 +0,0 @@
// "Replace 'Exception' with more generic 'Exception'" "false"
import java.util.function.Supplier;
class C {
static Object get() throws Exception {
return null;
}
void method() {
try {
Supplier<Object> lambda1 = () -> C.ge<caret>t();
} catch( Exception e) {
throw new RuntimeException(e);
}
}
}
@@ -1,16 +0,0 @@
// "Replace 'Exception' with more generic 'Exception'" "false"
import java.util.function.Supplier;
class C {
static Object get() throws Exception {
return null;
}
void method() {
try {
Supplier<Object> lambda1 = C::g<caret>et;
} catch( Exception e) {
throw new RuntimeException(e);
}
}
}