Files
openide/java/java-impl/resources/inspectionDescriptions/ExpressionMayBeFactorized.html
2025-02-05 04:43:28 +00:00

18 lines
569 B
HTML

<!-- Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
<html>
<body>
Reports expressions that can be factorized, i.e. reorganized to pull out a common factor.
This reduces redundancy and could improve the readability of your code.
<p><b>Example:</b></p>
<pre><code>
a &amp;&amp; b || a &amp;&amp; c
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
a &amp;&amp; (b || c)
</code></pre>
<!-- tooltip end -->
<p><small>New in 2021.3</small></p>
</body>
</html>