blob: 4f76d187ba2015f394c0e60be0ad71ece36bd8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.siyeh.igtest.bugs;
public class ResultOfObjectAllocationIgnoredInspection {
private ResultOfObjectAllocationIgnoredInspection() {
super();
}
public static void foo() {
new Integer(3);
}
void boom() {
new Comparable<String>() {
public int compareTo(String o) {
return 0;
}
};
}
}
|