mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
[java-completion] Do not insert semicolon automatically into for-update statement
Fixes IDEA-326232 Suppress semicolon for the next iteration part in for-loop GitOrigin-RevId: 4ceeb1c673fdbabf59f2e31610a1012f1fb07cc4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6c02bcf415
commit
e4aa26c19c
@@ -0,0 +1,11 @@
|
||||
import java.util.*;
|
||||
|
||||
class SomeTest {
|
||||
void a() {
|
||||
Collection<?> c = Collections.emptyList();
|
||||
|
||||
for(Iterator<?> i=c.iterator(); i.hasNext();i.rem<caret>) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import java.util.*;
|
||||
|
||||
class SomeTest {
|
||||
void a() {
|
||||
Collection<?> c = Collections.emptyList();
|
||||
|
||||
for(Iterator<?> i=c.iterator(); i.hasNext();i.remove()<caret>) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user