mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
CollapseIntoLoopAction: use tracking equivalence checker
GitOrigin-RevId: e8194d0ed5c4603eacbb0d904232f79f6373e56a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb8cffea13
commit
7470db33d8
@@ -0,0 +1,9 @@
|
||||
// "Collapse into loop" "true"
|
||||
class X {
|
||||
public int hashCode() {
|
||||
for (int j = 0; j < 4; j++) {
|
||||
System.out.println(1);
|
||||
for (int i = 0; i < 10; i++) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// "Collapse into loop" "true"
|
||||
class X {
|
||||
public int hashCode() {
|
||||
<caret>System.out.println(1);
|
||||
for (int i = 0; i < 10; i++) {}
|
||||
System.out.println(1);
|
||||
for (int i = 0; i < 10; i++) {}
|
||||
System.out.println(1);
|
||||
for (int i = 0; i < 10; i++) {}
|
||||
System.out.println(1);
|
||||
for (int i = 0; i < 10; i++) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user