This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-27 22:39:25 +02:00
parent 7371999cc7
commit dfb27c7654

View file

@ -19,9 +19,6 @@ import org.springframework.stereotype.Component;
*/ */
@Component @Component
public class UpdateTasks { public class UpdateTasks {
private final SensorRepository sensorRepository;
private final MotionSensorRepository motionSensorRepository; private final MotionSensorRepository motionSensorRepository;
private final SmartPlugRepository smartPlugRepository; private final SmartPlugRepository smartPlugRepository;
@ -36,14 +33,12 @@ public class UpdateTasks {
@Autowired @Autowired
public UpdateTasks( public UpdateTasks(
SensorRepository sensorRepository,
MotionSensorRepository motionSensorRepository, MotionSensorRepository motionSensorRepository,
SmartPlugRepository smartPlugRepository, SmartPlugRepository smartPlugRepository,
SensorService sensorService, SensorService sensorService,
ThermostatService thermostatService, ThermostatService thermostatService,
MotionSensorService motionSensorService, MotionSensorService motionSensorService,
SensorSocketEndpoint sensorSocketEndpoint) { SensorSocketEndpoint sensorSocketEndpoint) {
this.sensorRepository = sensorRepository;
this.motionSensorRepository = motionSensorRepository; this.motionSensorRepository = motionSensorRepository;
this.smartPlugRepository = smartPlugRepository; this.smartPlugRepository = smartPlugRepository;
this.sensorService = sensorService; this.sensorService = sensorService;