summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml')
-rw-r--r--plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml65
1 files changed, 65 insertions, 0 deletions
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml b/plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml
new file mode 100644
index 000000000000..2132751ff25d
--- /dev/null
+++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/empty_statement_body/expected.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<problems>
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>7</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;while&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>8</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;while&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>11</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;for&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>12</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;for&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>16</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;if&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>17</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;if&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>23</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;else&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>30</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;else&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+
+ <problem>
+ <file>EmptyStatementBody.java</file>
+ <line>32</line>
+ <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Statement with empty body</problem_class>
+ <description>&lt;code&gt;switch&lt;/code&gt; statement has empty body #loc</description>
+ </problem>
+</problems> \ No newline at end of file