mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 15:20:54 +07:00
7 lines
244 B
Java
7 lines
244 B
Java
// "Box primitive value in conditional branch" "true-preview"
|
|
class Test {
|
|
public static void main(String strictArgument) {
|
|
Integer test = Math.random() > 0.5 ? Integer.valueOf(1) :
|
|
Math.random() > 0.5 ? 2 : null;
|
|
}
|
|
} |