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
9 lines
208 B
Java
9 lines
208 B
Java
// "Assert 'container != null'" "true"
|
|
class A{
|
|
void test(){
|
|
Integer container = null;
|
|
int i = 0;
|
|
assert container != null;
|
|
for (int limit = container.intValue(); i < limit; i++){}
|
|
}
|
|
} |