mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
16 lines
420 B
HTML
16 lines
420 B
HTML
<html>
|
|
<body>
|
|
Reports inequality conditions that, according to data flow analysis, can be satisfied only for a single operand value.
|
|
Such conditions could be replaced with equality conditions to make the code clearer.
|
|
<p>Example:</p>
|
|
<pre><code>
|
|
if (x >= 10) {
|
|
...
|
|
if (x <= 10) { // can be replaced with 'x == 10'
|
|
}
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p><small>New in 2022.2</small></p>
|
|
</body>
|
|
</html> |