mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
AddExceptionToExistingCatch: fix non replacement intention text
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace 'C | D | B' with 'A'" "true"
|
||||
// "Replace 'C | D | B' with more generic 'A'" "true"
|
||||
import java.io.IOException;
|
||||
|
||||
class A extends Exception {}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace 'IndexOutOfBoundsException' with 'IOException'" "true"
|
||||
// "Add 'IOException' to catch with 'IndexOutOfBoundsException'" "true"
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace 'C | D | B' with 'A'" "true"
|
||||
// "Replace 'C | D | B' with more generic 'A'" "true"
|
||||
import java.io.IOException;
|
||||
|
||||
class A extends Exception {}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace 'IndexOutOfBoundsException' with 'IOException'" "true"
|
||||
// "Add 'IOException' to catch with 'IndexOutOfBoundsException'" "true"
|
||||
import java.io.File;
|
||||
|
||||
class Test {
|
||||
|
||||
Reference in New Issue
Block a user