mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
10 lines
224 B
Java
10 lines
224 B
Java
class AssertTrue {
|
|
void bar() {
|
|
final boolean b = call();
|
|
if (Assertions.assertTrue(b)) {
|
|
if(<warning descr="Condition 'b' is always 'true'">b</warning>) {}
|
|
}
|
|
}
|
|
boolean call() {return true;}
|
|
}
|