package org.opendaylight.netvirt.vpnmanager.iplearn;
import com.google.common.util.concurrent.ListenableFuture;
+import java.util.Collections;
import java.util.List;
import java.util.concurrent.Callable;
import org.opendaylight.netvirt.vpnmanager.iplearn.model.MacEntry;
-public class IpMonitorStartTask implements Callable<List<ListenableFuture<Void>>> {
+public class IpMonitorStartTask implements Callable<List<? extends ListenableFuture<?>>> {
private final MacEntry macEntry;
private final Long arpMonitorProfileId;
private final AlivenessMonitorUtils alivenessMonitorUtils;
@Override
public List<ListenableFuture<Void>> call() {
alivenessMonitorUtils.startIpMonitoring(macEntry, arpMonitorProfileId);
- return null;
+ return Collections.emptyList();
}
}