mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
9 lines
243 B
Java
9 lines
243 B
Java
class Contracts {
|
|
|
|
private boolean method(boolean a) {
|
|
boolean b = true;
|
|
<warning descr="Condition 'b' at the left side of assignment expression is always 'true'. Can be simplified"><caret>b</warning> |= a;
|
|
return b;
|
|
}
|
|
|
|
} |