File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed
query-tests/security/CWE-502
stubs/jackson-databind-2.12/com/fasterxml/jackson/databind Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 1
- //semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/snakeyaml-1.21:${testdir}/../../../stubs/xstream-1.4.10:${testdir}/../../../stubs/kryo-4.0.2:${testdir}/../../../stubs/jsr311-api-1.1.1:${testdir}/../../../stubs/fastjson-1.2.74:${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/servlet-api-2.4:${testdir}/../../../stubs/jyaml-1.3:${testdir}/../../../stubs/json-io-4.10.0:${testdir}/../../../stubs/yamlbeans-1.09:${testdir}/../../../stubs/hessian-4.0.38:${testdir}/../../../stubs/castor-1.4.1:${testdir}/../../../stubs/jackson-databind-2.10
1
+ //semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/snakeyaml-1.21:${testdir}/../../../stubs/xstream-1.4.10:${testdir}/../../../stubs/kryo-4.0.2:${testdir}/../../../stubs/jsr311-api-1.1.1:${testdir}/../../../stubs/fastjson-1.2.74:${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/servlet-api-2.4:${testdir}/../../../stubs/jyaml-1.3:${testdir}/../../../stubs/json-io-4.10.0:${testdir}/../../../stubs/yamlbeans-1.09:${testdir}/../../../stubs/hessian-4.0.38:${testdir}/../../../stubs/castor-1.4.1:${testdir}/../../../stubs/jackson-databind-2.12
Original file line number Diff line number Diff line change 9
9
public abstract class JsonNode implements TreeNode , Iterable <JsonNode > {
10
10
public abstract <T extends JsonNode > T deepCopy ();
11
11
12
- @ Override
13
12
public int size () {
14
13
return 0 ;
15
14
}
@@ -18,51 +17,40 @@ public boolean isEmpty() {
18
17
return size () == 0 ;
19
18
}
20
19
21
- @ Override
22
20
public final boolean isValueNode () {
23
21
return false ;
24
22
}
25
23
26
- @ Override
27
24
public final boolean isContainerNode () {
28
25
return false ;
29
26
}
30
27
31
- @ Override
32
28
public boolean isMissingNode () {
33
29
return false ;
34
30
}
35
31
36
- @ Override
37
32
public boolean isArray () {
38
33
return false ;
39
34
}
40
35
41
- @ Override
42
36
public boolean isObject () {
43
37
return false ;
44
38
}
45
39
46
- @ Override
47
40
public abstract JsonNode get (int index );
48
41
49
- @ Override
50
42
public JsonNode get (String fieldName ) {
51
43
return null ;
52
44
}
53
45
54
- @ Override
55
46
public abstract JsonNode path (String fieldName );
56
47
57
- @ Override
58
48
public abstract JsonNode path (int index );
59
49
60
- @ Override
61
50
public Iterator <String > fieldNames () {
62
51
return null ;
63
52
}
64
53
65
- @ Override
66
54
public final JsonNode at (String jsonPtrExpr ) {
67
55
return null ;
68
56
}
@@ -257,7 +245,6 @@ public boolean hasNonNull(int index) {
257
245
return false ;
258
246
}
259
247
260
- @ Override
261
248
public final Iterator <JsonNode > iterator () {
262
249
return elements ();
263
250
}
@@ -306,14 +293,12 @@ public boolean equals(Comparator<JsonNode> comparator, JsonNode other) {
306
293
return false ;
307
294
}
308
295
309
- @ Override
310
296
public abstract String toString ();
311
297
312
298
public String toPrettyString () {
313
299
return null ;
314
300
}
315
301
316
- @ Override
317
302
public abstract boolean equals (Object o );
318
303
319
304
}
You can’t perform that action at this time.
0 commit comments