git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18945 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-06-16 06:46:57 +00:00
1 parent bcd8e37595
commit fafa4bec66
1 file changed
+5
+5
View File
@@ -500,6 +500,11 @@ public abstract class Launcher {
* @param workDir The work dir.
*/
protected final void maskedPrintCommandLine(List<String> cmd, boolean[] mask, FilePath workDir) {
if(mask==null) {
printCommandLine(cmd.toArray(new String[cmd.size()]),workDir);
return;
}
assert mask.length == cmd.size();
final String[] masked = new String[cmd.size()];
for (int i = 0; i < cmd.size(); i++) {