Partly reverting f83d455 as it caused a verify error when running builds.

This commit is contained in:
Jesse Glick committed 2013-07-28 18:21:17 -04:00
1 parent f83d4550fc
commit 079ec15af2
1 file changed
+3 -4
@@ -24,7 +24,7 @@
*/
package hudson.util;
import com.infradna.tool.bridge_method_injector.WithBridgeMethods;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Util;
@@ -368,9 +368,8 @@ public class ArgumentListBuilder implements Serializable, Cloneable {
* Add a masked argument
* @param string the argument
*/
@WithBridgeMethods(void.class)
public ArgumentListBuilder addMasked(String string) {
return add(string, true);
public void addMasked(String string) {
add(string, true);
}
public ArgumentListBuilder addMasked(Secret s) {