Inspections: Create single diagnostic for inspections based on multiple intentions

#KT-7784 Fixed
This commit is contained in:
Alexey Sedunov
2015-05-19 18:38:36 +03:00
parent 5166cdbc96
commit 14d1d8e1dc
3 changed files with 39 additions and 34 deletions
@@ -5,15 +5,6 @@
<module>testPackageDirectoryMismatch_PackageDirectoryMismatch_0</module>
<entry_point TYPE="file" FQNAME="barPackageMismatched.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Package name does not match containing directory</problem_class>
<description>Move file to 'bar'</description>
</problem>
<problem>
<file>barPackageMismatched.kt</file>
<line>1</line>
<module>testPackageDirectoryMismatch_PackageDirectoryMismatch_0</module>
<entry_point TYPE="file" FQNAME="barPackageMismatched.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Package name does not match containing directory</problem_class>
<description>Change file's package to 'foo'</description>
<description>Package directive doesn't match file location</description>
</problem>
</problems>