mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
13 lines
314 B
Java
13 lines
314 B
Java
class Test {
|
|
|
|
// IDEA-182933
|
|
public static void main(String[] args) {
|
|
int a = 1;
|
|
int b = 2;
|
|
boolean f = false;
|
|
|
|
String s = "Hello " + (a + b) + (<warning descr="Condition 'f' is always 'false'"><caret>f</warning> ? " Earth" : " World");
|
|
|
|
System.out.println(s); // Prints Hello 3 World
|
|
}
|
|
} |