Switched from annotation based scheme to a function based scheme.

This commit is contained in:
Kohsuke Kawaguchi committed 2014-09-23 19:12:43 -07:00
1 parent 59456c734a
commit ffb5b65093
44 files changed
+247 -251

No files matched your search

+3 -1
View File
@@ -31,6 +31,8 @@ import hudson.util.ProcessTree;
import hudson.util.StreamTaskListener;
import hudson.remoting.Callable;
import java.io.ByteArrayOutputStream;
import jenkins.security.MasterToSlaveCallable;
import org.apache.commons.io.FileUtils;
import org.jvnet.hudson.test.Bug;
@@ -74,7 +76,7 @@ public class LauncherTest extends ChannelTestCase {
}
}
private static final Callable<Object,RuntimeException> NOOP = new Callable<Object,RuntimeException>() {
private static final Callable<Object,RuntimeException> NOOP = new MasterToSlaveCallable<Object,RuntimeException>() {
public Object call() throws RuntimeException {
return null;
}