diff --git a/core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java b/core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java index a22a868d707348543d272afffdce1af397b6813b..b82339de9c687a5aa66fe5819ed62ecd53c5660f 100644 --- a/core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java +++ b/core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java @@ -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() { + MasterComputer.threadPoolForRemoting.submit(new java.util.concurrent.Callable() { @Override - public Object call() throws Exception { + public Void call() throws Exception { final List restarters = new ArrayList(SlaveRestarter.all()); VirtualChannel ch = c.getChannel();