mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
16 lines
336 B
Java
16 lines
336 B
Java
// "Assert 'container != null'" "true"
|
|
import java.util.function.Supplier;
|
|
|
|
class A{
|
|
void test(){
|
|
Object container = null;
|
|
Supplier<String> r = () -> {
|
|
if (container == null) {
|
|
assert container != null;
|
|
return container.toString();
|
|
} else {
|
|
return "";
|
|
}
|
|
};
|
|
}
|
|
} |