mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
10 lines
212 B
Java
10 lines
212 B
Java
// "Assert 'myFoo != null'" "true-preview"
|
|
class A{
|
|
private final String myFoo = Math.random() > 0.5 ? "" : null;
|
|
String myBar;
|
|
|
|
{
|
|
assert myFoo != null;
|
|
myBar = myFoo.substring(0);
|
|
}
|
|
} |