From 2535e98e41aa4f887fd3aadc0dd443601dd70e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Ple=C3=9F?= Date: Wed, 7 Mar 2012 19:17:48 +0100 Subject: [PATCH] cleanup --- src/main/java/de/ctdo/bunti/dao/BuntiDevicesDAOImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/ctdo/bunti/dao/BuntiDevicesDAOImpl.java b/src/main/java/de/ctdo/bunti/dao/BuntiDevicesDAOImpl.java index d1e17ec..d063fb2 100644 --- a/src/main/java/de/ctdo/bunti/dao/BuntiDevicesDAOImpl.java +++ b/src/main/java/de/ctdo/bunti/dao/BuntiDevicesDAOImpl.java @@ -7,12 +7,12 @@ import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.stereotype.Component; import de.ctdo.bunti.model.*; +import org.springframework.stereotype.Repository; -@Component -public class BuntiDevicesDAOImpl implements BuntiDevicesDAO { +@Repository +public final class BuntiDevicesDAOImpl implements BuntiDevicesDAO { private Logger logger = LoggerFactory.getLogger(getClass()); private List devices = new ArrayList(); @@ -29,7 +29,7 @@ public class BuntiDevicesDAOImpl implements BuntiDevicesDAO { devices.add(new Par56Spot(deviceID++, 11, "Par56 Lampe 3")); devices.add(new Par56Spot(deviceID++, 16, "Par56 Lampe 4")); devices.add(new Strobe1500(deviceID++, 21, "Stroboskop 1")); - devices.add(new Par56Spot(deviceID++, 508, "Par56 Lampe 5")); + devices.add(new Par56Spot(deviceID, 508, "Par56 Lampe 5")); logger.debug("added dummy devices in DAO"); }