mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Java: Remove deprecated tests.
This commit is contained in:
@@ -3,17 +3,17 @@ import java.util.List;
|
||||
|
||||
class ArraysTest {
|
||||
public static void taintSteps(String[] source) {
|
||||
Arrays.asList();
|
||||
Arrays.asList("one");
|
||||
Arrays.asList("two", "three");
|
||||
Arrays.copyOf(source, 10);
|
||||
Arrays.copyOfRange(source, 0, 10);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Arrays.deepToString(source);
|
||||
Arrays.spliterator(source);
|
||||
Arrays.stream(source);
|
||||
|
||||
|
||||
Arrays.toString(source);
|
||||
Arrays.fill(source, "value");
|
||||
Arrays.fill(source, 0, 10, "data");
|
||||
|
||||
|
||||
Arrays.parallelPrefix(source, (x, y) -> x + y);
|
||||
Arrays.parallelPrefix(source, 0, 10, (x, y) -> x + y);
|
||||
Arrays.parallelSetAll(source, x -> Integer.toString(x));
|
||||
|
||||
Reference in New Issue
Block a user