mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
9 lines
256 B
Java
9 lines
256 B
Java
// "Assert 'container != null'" "true-preview"
|
|
import java.util.function.Supplier;
|
|
|
|
class A{
|
|
void test(){
|
|
Object container = Math.random() > 0.5 ? "" : null;
|
|
Supplier<String> r = () -> Math.random() > 0.5 ? container.toS<caret>tring() : "";
|
|
}
|
|
} |