diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/scheduled/UpdateTasks.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/scheduled/UpdateTasks.java index 2cb8d01..87c195c 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/scheduled/UpdateTasks.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/scheduled/UpdateTasks.java @@ -19,9 +19,6 @@ import org.springframework.stereotype.Component; */ @Component public class UpdateTasks { - - private final SensorRepository sensorRepository; - private final MotionSensorRepository motionSensorRepository; private final SmartPlugRepository smartPlugRepository; @@ -36,14 +33,12 @@ public class UpdateTasks { @Autowired public UpdateTasks( - SensorRepository sensorRepository, MotionSensorRepository motionSensorRepository, SmartPlugRepository smartPlugRepository, SensorService sensorService, ThermostatService thermostatService, MotionSensorService motionSensorService, SensorSocketEndpoint sensorSocketEndpoint) { - this.sensorRepository = sensorRepository; this.motionSensorRepository = motionSensorRepository; this.smartPlugRepository = smartPlugRepository; this.sensorService = sensorService;