mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: don't make loop variables final when splitting multiple declarations (IDEA-380295)
GitOrigin-RevId: 0d83b9f64eda019c7d0b2b75fd1221fe41a83877
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ae51e0edfc
commit
8f6afc90fe
+9
@@ -0,0 +1,9 @@
|
||||
class ForLoopInitializer {
|
||||
|
||||
public static void main(String[] args) {
|
||||
int j;
|
||||
for (int i = 0<caret>; i < 10; i++) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class ForLoopInitializer {
|
||||
|
||||
public static void main(String[] args) {
|
||||
for (int i = 0, <caret>j; i < 10; i++) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user