summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/inspection/dataFlow/caseAndNpe/expected.xml
blob: 184e6c5f85f196f5831a51f8fd321dd0ff802b67 (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
<?xml version="1.0" encoding="UTF-8"?>
<problems>
  <problem>
    <file>CaseAndNpe.java</file>
    <line>79</line>
    <description>Condition 'a != null' is always true</description>
  </problem>
  <problem>
    <file>CaseAndNpe.java</file>
    <line>26</line>
    <description>Method invocation 'o.equals(o)' may produce NullPointerException</description>
  </problem>
  <problem>
    <file>CaseAndNpe.java</file>
    <line>48</line>
    <description>Switch label 'case 1:' is unreachable</description>
  </problem>
  <problem>
    <file>CaseAndNpe.java</file>
    <line>49</line>
    <description>Switch label 'case 2:' is unreachable</description>
  </problem>
  <problem>
    <file>CaseAndNpe.java</file>
    <line>80</line>
    <description>Condition is always true</description>
  </problem>
</problems>