diff options
author | Alexander Kurtakov | 2016-08-25 08:11:15 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2016-08-25 09:09:46 +0000 |
commit | 5b4c508f2c8d5d92f44d927ceb36bde12a89ef74 (patch) | |
tree | 92b28d579767487bd4240e2eae16ea1b7b31e5db /systemtap/org.eclipse.linuxtools.systemtap.structures | |
parent | 830a89e8a62a998700a41eeaed264e6a5c752a07 (diff) | |
download | org.eclipse.linuxtools-5b4c508f2c8d5d92f44d927ceb36bde12a89ef74.tar.gz org.eclipse.linuxtools-5b4c508f2c8d5d92f44d927ceb36bde12a89ef74.tar.xz org.eclipse.linuxtools-5b4c508f2c8d5d92f44d927ceb36bde12a89ef74.zip |
systemtap: Make Command envVars varargs.
Change-Id: I98d4131c3cb654f3b73ff79a4c0b3fb20287a729
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/79700
Tested-by: Hudson CI
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.structures')
-rw-r--r-- | systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java index c59db80aa8..e4cb06cb00 100644 --- a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java +++ b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006 IBM Corporation and others. + * Copyright (c) 2006, 2016 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -89,7 +89,7 @@ public class Command implements Runnable { * @param envVars List of all environment variables to use * @since 2.0 */ - public Command(String[] cmd, String[] envVars) { + public Command(String[] cmd, String... envVars) { this(cmd, envVars, null); } |