mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
IDEA-122392 intention: "Create Local Var from instanceof Usage" does not format generated code
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Insert '(IOException)o' declaration" "true"
|
||||
import java.io.IOException;
|
||||
|
||||
class C {
|
||||
void f(Object o) {
|
||||
if (o instanceof IOException) {
|
||||
IOException ioException = (IOException) o;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Insert '(IOException)o' declaration" "true"
|
||||
import java.io.IOException;
|
||||
|
||||
class C {
|
||||
void f(Object o) {
|
||||
if (o instanceof IOException) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user