...
Code Block | ||
---|---|---|
| ||
public void f(boolean a, boolean b) { while ( (a == b) && flag ) { /* ... */ } } |
Exceptions
Using the assignment operator in these conditional expressions is permissible if it is not the controlling expression.
Related Guidelines
"Likely Incorrect Expression [KOA]" | |
CWE ID 480, "Use of Incorrect Operator" |
...