Refactoring: make "replace array equality ..." an inspection
This commit is contained in:
Vendored
+2
-2
@@ -5,7 +5,7 @@
|
||||
<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 'contentEquals'</description>
|
||||
<description>Dangerous array comparison</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
@@ -13,6 +13,6 @@
|
||||
<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 'contentEquals'</description>
|
||||
<description>Dangerous array comparison</description>
|
||||
</problem>
|
||||
</problems>
|
||||
Reference in New Issue
Block a user