Show warning also if arrays are compared by '!=' #KT-20259 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-09-17 17:44:51 +03:00
committed by Mikhail Glukhikh
parent 93252926ba
commit f08e9832a6
8 changed files with 44 additions and 4 deletions
@@ -7,4 +7,12 @@
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Replace '==' with 'Arrays.equals'</problem_class>
<description>Replace '==' with 'Arrays.equals'</description>
</problem>
<problem>
<file>test.kt</file>
<line>7</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/test.kt"/>
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Replace '!=' with 'Arrays.equals'</problem_class>
<description>Replace '!=' with 'Arrays.equals'</description>
</problem>
</problems>