Files
openide/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyTrivialConditional.html
Konstantin Nisht 73a842644a [groovy] Re-proofread inspection messages
GitOrigin-RevId: d946743c6f9ea2a1cb44f5676f4098d9e56e4d49
2021-06-02 15:13:27 +00:00

18 lines
303 B
HTML

<html>
<body>
Reports ternary conditional operators of the form <code>x ? true : false</code>
or similar, which can be trivially simplified.
<p><b>Example:</b></p>
<pre><code>
foo() ? true : false
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
foo()
</code></pre>
</body>
</html>