From 46ae614bd3fa7974f210fdce6367e97e882213fb Mon Sep 17 00:00:00 2001 From: "Roman.Ivanov" Date: Tue, 9 Apr 2019 14:11:02 +0700 Subject: [PATCH] AddExceptionToExistingCatchClause: remove unrelated to java 6 test --- .../java6/beforeInsideLambda.java | 16 ---------------- .../java6/beforeInsideMethodRef.java | 16 ---------------- 2 files changed, 32 deletions(-) delete mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideLambda.java delete mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addExceptionToExistingCatch/java6/beforeInsideMethodRef.java 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