Skip to content

Commit 5a35690

Browse files
committed
SONARJAVA-1209 Merge implem of RSPEC-2385 into implem of RSPEC-2386
1 parent 7dbbe02 commit 5a35690

10 files changed

Lines changed: 200 additions & 344 deletions

File tree

its/ruling/src/test/resources/expected/squid-S2385.json

Lines changed: 0 additions & 120 deletions
This file was deleted.

its/ruling/src/test/resources/expected/squid-S2386.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,81 @@
11
{
2+
'project:com/sun/corba/se/impl/io/ObjectStreamClass.java':[
3+
1654,
4+
],
5+
'project:com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java':[
6+
1156,
7+
],
8+
'project:com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java':[
9+
65,
10+
183,
11+
192,
12+
200,
13+
212,
14+
223,
15+
235,
16+
246,
17+
282,
18+
283,
19+
],
20+
'project:com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java':[
21+
66,
22+
201,
23+
210,
24+
218,
25+
230,
26+
241,
27+
253,
28+
264,
29+
304,
30+
305,
31+
],
32+
'project:com/sun/corba/se/impl/util/RepositoryId.java':[
33+
60,
34+
195,
35+
204,
36+
212,
37+
224,
38+
235,
39+
247,
40+
258,
41+
291,
42+
298,
43+
299,
44+
],
245
'project:com/sun/imageio/plugins/bmp/BMPConstants.java':[
346
51,
447
],
48+
'project:com/sun/imageio/plugins/gif/GIFStreamMetadata.java':[
49+
44,
50+
55,
51+
],
52+
'project:com/sun/imageio/plugins/jpeg/JPEG.java':[
53+
175,
54+
176,
55+
177,
56+
204,
57+
209,
58+
],
59+
'project:com/sun/imageio/plugins/png/PNGMetadata.java':[
60+
52,
61+
57,
62+
62,
63+
67,
64+
72,
65+
77,
66+
82,
67+
87,
68+
98,
69+
103,
70+
112,
71+
],
572
'project:com/sun/jmx/snmp/IPAcl/ParserConstants.java':[
673
68,
774
],
75+
'project:com/sun/jmx/snmp/IPAcl/ParserTokenManager.java':[
76+
1368,
77+
1377,
78+
],
879
'project:com/sun/jmx/snmp/IPAcl/ParserTreeConstants.java':[
980
60,
1081
],
@@ -33,4 +104,51 @@
33104
'project:com/sun/org/apache/bcel/internal/generic/InstructionConstants.java':[
34105
211,
35106
],
107+
'project:com/sun/org/apache/bcel/internal/generic/Type.java':[
108+
90,
109+
],
110+
'project:com/sun/org/apache/xalan/internal/xsltc/compiler/XPathParser.java':[
111+
860,
112+
],
113+
'project:com/sun/org/apache/xerces/internal/impl/XMLEntityScanner.java':[
114+
74,
115+
],
116+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/LSInputListImpl.java':[
117+
44,
118+
],
119+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/ObjectListImpl.java':[
120+
41,
121+
],
122+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/ShortListImpl.java':[
123+
42,
124+
],
125+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/StringListImpl.java':[
126+
43,
127+
],
128+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/XSNamedMapImpl.java':[
129+
51,
130+
],
131+
'project:com/sun/org/apache/xerces/internal/impl/xs/util/XSObjectListImpl.java':[
132+
46,
133+
],
134+
'project:com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java':[
135+
186,
136+
],
137+
'project:java/io/ObjectStreamClass.java':[
138+
72,
139+
],
140+
'project:java/util/Collections.java':[
141+
3092,
142+
3152,
143+
3226,
144+
],
145+
'project:javax/imageio/spi/ImageReaderSpi.java':[
146+
84,
147+
],
148+
'project:javax/imageio/spi/ImageWriterSpi.java':[
149+
86,
150+
],
151+
'project:javax/management/openmbean/OpenType.java':[
152+
120,
153+
],
36154
}

java-checks/src/main/java/org/sonar/java/checks/CheckList.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ public static List<Class<? extends JavaCheck>> getJavaChecks() {
278278
.add(ImmediateReverseBoxingCheck.class)
279279
.add(CustomCryptographicAlgorithmCheck.class)
280280
.add(UnusedTypeParameterCheck.class)
281-
.add(InterfaceStaticMutableMemberCheck.class)
282281
.add(ShiftOnIntOrLongCheck.class)
283282
.add(CompareToReturnValueCheck.class)
284283
.add(FinalizeFieldsSetCheck.class)

java-checks/src/main/java/org/sonar/java/checks/InterfaceStaticMutableMemberCheck.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)