mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java completion: prefer return inside then/else parts of if (IDEA-156192)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import javax.swing.*;
|
||||
|
||||
class A extends JPanel {
|
||||
void f() {
|
||||
// "return"
|
||||
if (true) re<caret>
|
||||
|
||||
// "continue"
|
||||
for (int i=0;i<10;i++) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user