cleanup
This commit is contained in:
parent
2043cf7fee
commit
2535e98e41
|
@ -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<BuntiDevice> devices = new ArrayList<BuntiDevice>();
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue