mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Java: Fix bug involving varadic parameters
This commit is contained in:
@@ -14,6 +14,7 @@ class A {
|
||||
good.formatted("a", bad, "b", good);
|
||||
String.format("%s%s", bad, good);
|
||||
String.format("%s", good);
|
||||
String.format("%s %s %s %s %s %s %s %s %s %s ", "a", "a", "a", "a", "a", "a", "a", "a", "a", bad);
|
||||
}
|
||||
|
||||
public static void test2() {
|
||||
|
||||
Reference in New Issue
Block a user