mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Switched from annotation based scheme to a function based scheme.
This commit is contained in:
1 parent
59456c734a
commit
ffb5b65093
44 files changed
+247
-251
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user