mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Fixes IDEA-230023 Applying `Assert != null` in try-with-resources leads to uncompilable code GitOrigin-RevId: 3dc141010420570c061849287adaeb0fccbcf1f4
14 lines
277 B
Java
14 lines
277 B
Java
// "Assert 'container != null'" "true"
|
|
class A{
|
|
void test(){
|
|
Object container = null;
|
|
Runnable r = () -> {
|
|
if (container == null) {
|
|
assert container != null;
|
|
container.toString();
|
|
} else {
|
|
"";
|
|
}
|
|
};
|
|
}
|
|
} |