mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 14:30:49 +07:00
GitOrigin-RevId: 829a5e8f0b97a4e21dbb1f7d99ba70b777d1240f
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> |