From dfb27c76545c4392e11397dc2e2cbedaa8a9ec6e Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Wed, 27 May 2020 22:39:25 +0200 Subject: [PATCH] Fix bug --- .../inf/sa4/sanmarinoes/smarthut/scheduled/UpdateTasks.java | 5 ----- 1 file changed, 5 deletions(-) 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;