mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
413 B
HTML
17 lines
413 B
HTML
<html>
|
|
<body>
|
|
Reports concatenation with string literals that consist of one character.
|
|
<p>These literals may be replaced with equivalent character literals, gaining some performance enhancement.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
String hello = hell + "o";
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
String hello = hell + 'o';
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
|
|
</body>
|
|
</html> |