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

#KT-38568 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-05-11 15:29:30 +09:00
committed by Yan Zhulanow
parent 3272b8fc2c
commit 25787eb869
3 changed files with 4 additions and 73 deletions
@@ -5507,18 +5507,6 @@
<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>
@@ -5555,28 +5543,4 @@
<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>