AddExceptionToExistingCatch: fix non replacement intention text

This commit is contained in:
Roman.Ivanov
2019-04-03 12:24:01 +07:00
parent 7f160662a5
commit 6d37214f4d
6 changed files with 6 additions and 6 deletions
@@ -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,4 +1,4 @@
// "Replace 'IndexOutOfBoundsException' with 'IOException'" "true"
// "Add 'IOException' to catch with 'IndexOutOfBoundsException'" "true"
import java.io.File;
import java.io.IOException;
@@ -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,4 +1,4 @@
// "Replace 'IndexOutOfBoundsException' with 'IOException'" "true"
// "Add 'IOException' to catch with 'IndexOutOfBoundsException'" "true"
import java.io.File;
class Test {