mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
final in "foreach" loop
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
Object[] xs = new Object[]{1, 2, 3};
|
||||
xs.for<caret>
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
Object[] xs = new Object[]{1, 2, 3};
|
||||
for (final Object x : xs) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user