You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/ql/src/Language Abuse/LabelInSwitch.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ public class Test {
26
26
}
27
27
```
28
28
29
-
In the example, `case2` is most likely a typo and should be fixed. For the intensional`notcaselabel`, placing the labelled code into a function and then calling that function is more readable.
29
+
In the example, `case2` is most likely a typo and should be fixed. For the intentional`notcaselabel`, placing the labelled code into a function and then calling that function is more readable.
30
30
31
31
## References
32
32
33
-
Similar to the JS CodeQL query - [js/label-in-switch](https://codeql.github.com/codeql-query-help/javascript/js-label-in-switch/).
33
+
CodeQL query help for JavaScript and TypeScript - [Non-case label in switch statement](https://codeql.github.com/codeql-query-help/javascript/js-label-in-switch/).
0 commit comments