summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igtest/abstraction/declare_collection_as_interface/expected.xml
blob: 8c108ed1ef1af67b54b9fec657b69eaac67861fb (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
<?xml version="1.0" encoding="UTF-8"?>
<problems>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>8</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;HashMap&lt;/code&gt; should probably be weakened to 'java.util.Map' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>25</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;HashMap&lt;/code&gt; should probably be weakened to 'java.util.Map' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>19</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;HashMap&lt;/code&gt; should probably be weakened to 'java.util.Map' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>37</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;HashMap&lt;/code&gt; should probably be weakened to 'java.util.Map' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>47</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;HashMap&lt;/code&gt; should probably be weakened to 'java.util.Map' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>52</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;ArrayList&lt;/code&gt; should probably be weakened to 'java.util.List' #loc</description>
  </problem>

  <problem>
    <file>DeclareCollectionAsInterface.java</file>
    <line>55</line>
    <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Collection declared by class, not interface</problem_class>
    <description>Declaration of &lt;code&gt;ArrayList&lt;/code&gt; should probably be weakened to 'java.util.List' #loc</description>
  </problem>
</problems>