summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igtest/j2me/simplifiable_if_statement/expected.xml
blob: b037c433f67294279ee46f014aa399e5764f34f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<problems>
  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>50</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'return a || b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>70</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'return a &amp;&amp; b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>8</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'i = !a || b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>14</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'j = a || b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>20</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'k = a &amp;&amp; b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>26</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'l = !a &amp;&amp; b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>40</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'return !a || b;' #loc</description>
  </problem>



  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>60</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'return !a &amp;&amp; b;' #loc</description>
  </problem>

  <problem>
    <file>SimplifiableIfStatement.java</file>
    <line>79</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">If statement may be replaced with &amp;&amp; or || expression</problem_class>
    <description>&lt;code&gt;if&lt;/code&gt; statement can be replaced with 'return (a || b) &amp;&amp; (c || d);' #loc</description>
  </problem>
</problems>