mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
23 lines
615 B
HTML
23 lines
615 B
HTML
<html>
|
|
<body>
|
|
Reports unnecessarily escaped characters in <code>String</code> literals,
|
|
and optionally <code>char</code> literals.
|
|
<p>Escaped tab characters (<code>\t</code>) are not reported, even though escaping them is not required,
|
|
because tab characters are hard to tell apart from spaces.</p>
|
|
<p>Examples:</p>
|
|
<pre><code>
|
|
String s = "\'Scare\' quotes";
|
|
String t = """
|
|
All you need is\n\tLove\n""";
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
String s = "'Scare' quotes";
|
|
String t = """
|
|
All you need is
|
|
\tLove
|
|
""";
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |