mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
14 lines
228 B
Java
14 lines
228 B
Java
public class Test {
|
|
|
|
void test(boolean p) {
|
|
<selection>int x = 42;
|
|
int y = 0;
|
|
System.out.println();</selection>
|
|
|
|
if (p) {
|
|
x = (x + y)/2;
|
|
}
|
|
|
|
System.out.println("Point(" + x + ", " + y + ")");
|
|
}
|
|
} |