diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideLambda.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideLambda.java deleted file mode 100644 index 67217c66f7d9..000000000000 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideLambda.java +++ /dev/null @@ -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 lambda1 = () -> C.get(); - } catch( Exception e) { - throw new RuntimeException(e); - } - } -} \ No newline at end of file diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideMethodRef.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideMethodRef.java deleted file mode 100644 index 80f964df9077..000000000000 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideMethodRef.java +++ /dev/null @@ -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 lambda1 = C::get; - } catch( Exception e) { - throw new RuntimeException(e); - } - } -} \ No newline at end of file