mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-152224 Unwrap if should check if there are conflicting variables
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
<caret>{
|
||||
int i = 0;
|
||||
}
|
||||
int i = 0;
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
if (tru<caret>e) {
|
||||
int i = 0;
|
||||
}
|
||||
int i = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user