Skip to content

Commit 95afd55

Browse files
committed
Java: Fix qltest
1 parent 4399138 commit 95afd55

File tree

1 file changed

+3
-3
lines changed
  • java/ql/test/library-tests/frameworks/apache-collections

1 file changed

+3
-3
lines changed

java/ql/test/library-tests/frameworks/apache-collections/Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,14 +721,14 @@ public void test() throws Exception {
721721
{
722722
// "org.apache.commons.collections4;MapUtils;true;getMap;;;MapValue of Argument[0];ReturnValue;value;manual"
723723
Map out = null;
724-
Map in = newTreeMapWithMapValue((String)source());
724+
Map in = newTreeMapWithMapValue((Map)source());
725725
out = MapUtils.getMap(in, null, null);
726726
sink(out); // $ hasValueFlow
727727
}
728728
{
729729
// "org.apache.commons.collections4;MapUtils;true;getMap;;;MapValue of Argument[0];ReturnValue;value;manual"
730730
Map out = null;
731-
Map in = newTreeMapWithMapValue((String)source());
731+
Map in = newTreeMapWithMapValue((Map)source());
732732
out = MapUtils.getMap(in, null);
733733
sink(out); // $ hasValueFlow
734734
}
@@ -7257,4 +7257,4 @@ public MyAbstractSortedSetDecorator(final Set<E> set) {
72577257
}
72587258
}
72597259

7260-
}
7260+
}

0 commit comments

Comments
 (0)