mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Java: Fix qltest
This commit is contained in:
@@ -721,14 +721,14 @@ public class Test {
|
||||
{
|
||||
// "org.apache.commons.collections4;MapUtils;true;getMap;;;MapValue of Argument[0];ReturnValue;value;manual"
|
||||
Map out = null;
|
||||
Map in = newTreeMapWithMapValue((String)source());
|
||||
Map in = newTreeMapWithMapValue((Map)source());
|
||||
out = MapUtils.getMap(in, null, null);
|
||||
sink(out); // $ hasValueFlow
|
||||
}
|
||||
{
|
||||
// "org.apache.commons.collections4;MapUtils;true;getMap;;;MapValue of Argument[0];ReturnValue;value;manual"
|
||||
Map out = null;
|
||||
Map in = newTreeMapWithMapValue((String)source());
|
||||
Map in = newTreeMapWithMapValue((Map)source());
|
||||
out = MapUtils.getMap(in, null);
|
||||
sink(out); // $ hasValueFlow
|
||||
}
|
||||
@@ -7257,4 +7257,4 @@ public class Test {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user