mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
12 lines
308 B
Java
12 lines
308 B
Java
import java.io.InputStream;
|
|
|
|
class Test {
|
|
InputStream test(boolean condition){
|
|
final InputStream stream = System.in;
|
|
<selection>int x = 42;
|
|
if (condition) return stream;
|
|
if (!condition) return stream;</selection>
|
|
System.out.println(x);
|
|
return null;
|
|
}
|
|
} |