Non-varargs call of varargs method with inexact argument type for last parameter (#8205)

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
This commit is contained in:
Basil CrowandMark Waite authored and GitHub committed 2023-06-30 17:53:21 +02:00
1 parent 4acf2954e5
commit 7cbe60fa5e
1 file changed
+1 -1
@@ -131,7 +131,7 @@ public class DisablePluginCommand extends CLICommand {
System.arraycopy(arguments, 0, newArgs, 1, arguments.length);
String f = "%" + indent + "s" + format + "%n";
stdout.format(f, newArgs);
stdout.format(f, (Object[]) newArgs);
}
}