mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[java-intention] CollapseIntoLoopAction: disable inside switch and on declarations (IDEA-251600)
GitOrigin-RevId: de00fe6b26f1969f8f9df0ac2d944ec76f402c8c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a1211a9610
commit
ebc61af5e8
@@ -0,0 +1,8 @@
|
||||
// "Collapse into loop" "false"
|
||||
class X {
|
||||
void test() {
|
||||
<caret>int x;
|
||||
int y;
|
||||
int z;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Collapse into loop" "false"
|
||||
class X {
|
||||
void test() {
|
||||
switch(0) {
|
||||
<caret>case 1 -> {}
|
||||
case 2 -> {}
|
||||
case 3 -> {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user