mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 14:00:54 +07:00
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
19 lines
356 B
Java
19 lines
356 B
Java
public class EffectivelyLocalWithinExpression {
|
|
void foo() {
|
|
int n;
|
|
if (<selection>(n = z()) > 0 && n < 100</selection>) {
|
|
System.out.println();
|
|
}
|
|
}
|
|
|
|
void bar() {
|
|
int n;
|
|
if ((n = z()) > 1 && n < 100) {
|
|
System.out.println();
|
|
}
|
|
}
|
|
|
|
int z() {
|
|
return 1;
|
|
}
|
|
} |