mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user