Files
openide/java/java-tests/testData/inspection/magic/manyConstantSources/expected.xml
T
Vladislav Rassokhin 78f173cfb7 IDEA-CR-18229 Improve MagicConstantInspection in case of two constants sources:
* Reverted origin test, add new test case
* Throw exception if both 'flags' and 'values' used.
* Fix tests: `PsiAnnotation#findAttributeValue` may return default values, ignore them
2017-02-14 20:11:30 +03:00

80 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>X.java</file>
<line>31</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I</description>
</problem>
<problem>
<file>X.java</file>
<line>32</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I</description>
</problem>
<problem>
<file>X.java</file>
<line>33</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I</description>
</problem>
<problem>
<file>X.java</file>
<line>44</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const2.I, Const1.X</description>
</problem>
<problem>
<file>X.java</file>
<line>45</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const2.I, Const1.X</description>
</problem>
<problem>
<file>X.java</file>
<line>46</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const2.I, Const1.X</description>
</problem>
<problem>
<file>X.java</file>
<line>57</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I or their combination</description>
</problem>
<problem>
<file>X.java</file>
<line>58</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I or their combination</description>
</problem>
<problem>
<file>X.java</file>
<line>59</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I</description>
</problem>
<problem>
<file>X.java</file>
<line>61</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const1.X, Const2.I or their combination</description>
</problem>
<problem>
<file>X.java</file>
<line>72</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const2.I, Const1.X or their combination</description>
</problem>
<problem>
<file>X.java</file>
<line>73</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">magic constant</problem_class>
<description>Should be one of: Const2.I, Const1.X or their combination</description>
</problem>
</problems>