mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Remove redundant models and corresponding test
Iterator.next is already modelled
This commit is contained in:
@@ -2675,13 +2675,6 @@ public class Test {
|
||||
out = in.getValue();
|
||||
sink(out); // $ hasValueFlow
|
||||
}
|
||||
{
|
||||
// "org.apache.commons.collections4;MapIterator;true;next;;;Element of Argument[-1];ReturnValue;value"
|
||||
Object out = null;
|
||||
MapIterator in = newOMIWithElement((String)source());
|
||||
out = in.next();
|
||||
sink(out); // $ hasValueFlow
|
||||
}
|
||||
{
|
||||
// "org.apache.commons.collections4;MapIterator;true;setValue;;;Argument[0];MapValue of Argument[-1];value"
|
||||
MapIterator out = null;
|
||||
|
||||
Reference in New Issue
Block a user