提交 c5d54fe9 编写于 作者: K Kohsuke Kawaguchi

better be void

上级 943d1674
......@@ -33,9 +33,9 @@ import static java.util.logging.Level.*;
public class JnlpSlaveRestarterInstaller extends ComputerListener implements Serializable {
@Override
public void onOnline(final Computer c, final TaskListener listener) throws IOException, InterruptedException {
MasterComputer.threadPoolForRemoting.submit(new java.util.concurrent.Callable<Object>() {
MasterComputer.threadPoolForRemoting.submit(new java.util.concurrent.Callable<Void>() {
@Override
public Object call() throws Exception {
public Void call() throws Exception {
final List<SlaveRestarter> restarters = new ArrayList<SlaveRestarter>(SlaveRestarter.all());
VirtualChannel ch = c.getChannel();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册