mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 21:53:58 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
16 lines
378 B
HTML
16 lines
378 B
HTML
<html>
|
|
<body>
|
|
Reports labeled statements inside of <code>switch</code> statements.
|
|
While occasionally intended, this construction is often the result of a typo.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
switch (x) {
|
|
case 1:
|
|
case2: //warning: Text label 'case2:' in 'switch' statement
|
|
case 3:
|
|
break;
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |