mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
IDEA-67190 (correctly unwrap try statement if it's not in a code block)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Delete catch for 'java.io.IOException'" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f(boolean f) {
|
||||
if (f) {
|
||||
System.out.println();
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// "Delete catch for 'java.io.IOException'" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f(boolean f) {
|
||||
if (f)
|
||||
try {
|
||||
System.out.println();
|
||||
System.out.println();
|
||||
} catch (<caret>IOException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user