Revert "TrailingCommaInspection: don't report Missing line break for when entry that has no trailing comma"

This reverts commit 25787eb8
This commit is contained in:
Yan Zhulanow
2020-06-02 00:16:45 +09:00
parent a421f74ef0
commit 4d859a7212
3 changed files with 73 additions and 4 deletions
@@ -5507,6 +5507,18 @@
<offset>8</offset>
<length>1</length>
</problem>
<problem>
<file>WhenEntry.kt</file>
<line>15</line>
<module>testProject</module>
<package>light_idea_test_case</package>
<entry_point TYPE="file" FQNAME="WhenEntry.kt" />
<problem_class severity="INFO" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
<description>Missing line break</description>
<highlighted_element>-</highlighted_element>
<offset>44</offset>
<length>1</length>
</problem>
<problem>
<file>WhenEntry.kt</file>
<line>21</line>
@@ -5543,4 +5555,28 @@
<offset>9</offset>
<length>1</length>
</problem>
<problem>
<file>WhenEntry.kt</file>
<line>54</line>
<module>testProject</module>
<package>light_idea_test_case</package>
<entry_point TYPE="file" FQNAME="WhenEntry.kt" />
<problem_class severity="INFO" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
<description>Missing line break</description>
<highlighted_element>-</highlighted_element>
<offset>15</offset>
<length>1</length>
</problem>
<problem>
<file>WhenEntry.kt</file>
<line>62</line>
<module>testProject</module>
<package>light_idea_test_case</package>
<entry_point TYPE="file" FQNAME="WhenEntry.kt" />
<problem_class severity="INFO" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
<description>Missing line break</description>
<highlighted_element>-</highlighted_element>
<offset>15</offset>
<length>1</length>
</problem>
</problems>