Skip to content

Commit a2d3a12

Browse files
author
Davis Gallinghouse
committed
Report switch statement fall-through as an error
1 parent 5b3b0a7 commit a2d3a12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/inspection/Square.xml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<inspections version="1.0" is_locked="false">
33
<option name="myName" value="Square" />
4+
<inspection_tool class="FallthruInSwitchStatement" enabled="true" level="ERROR" enabled_by_default="true" />
45
<inspection_tool class="UnnecessarySemicolon" enabled="true" level="ERROR" enabled_by_default="true" />
56
</inspections>
67

0 commit comments

Comments
 (0)