mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
Fixes IDEA-230023 Applying `Assert != null` in try-with-resources leads to uncompilable code GitOrigin-RevId: 3dc141010420570c061849287adaeb0fccbcf1f4
10 lines
177 B
Java
10 lines
177 B
Java
// "Assert 'myFoo != null'" "true"
|
|
class A{
|
|
private final String myFoo = null;
|
|
String myBar;
|
|
|
|
{
|
|
assert myFoo != null;
|
|
myBar = myFoo.substring(0);
|
|
}
|
|
} |