mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
391 B
HTML
17 lines
391 B
HTML
<html>
|
|
<body>
|
|
Reports conditional expressions which are negated with a prefix expression, as
|
|
such constructions may be confusing.
|
|
<p>There is a fix that propagates the outer negation to both branches.</p>
|
|
<p>Example:</p>
|
|
<pre><code>
|
|
!(i == 1 ? a : b)
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
i == 1 ? !a : !b
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
</body>
|
|
</html> |