mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
16 lines
316 B
Java
16 lines
316 B
Java
class DoIfWhile {
|
|
String foo(int a, boolean b) {
|
|
int x = 0;
|
|
do <selection>{
|
|
/*comment*/ if (b) {
|
|
String s = bar(x);
|
|
if (s != null) return s;
|
|
}
|
|
}</selection>
|
|
while (++x < a);
|
|
|
|
return null;
|
|
}
|
|
|
|
String bar(int x) { return "";}
|
|
} |