mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-17 14:51:57 +07:00
9 lines
194 B
Java
9 lines
194 B
Java
class Contracts {
|
|
|
|
boolean x;
|
|
|
|
public boolean testSideEffect() {
|
|
return x && <warning descr="Condition '!(x = false)' is always 'true' when reached">!(x =<caret> false)</warning>;
|
|
}
|
|
|
|
} |