Removed unnecessary imports
This commit is contained in:
parent
64e60d43f0
commit
853dfed14c
@ -40,7 +40,6 @@ import org.thingsboard.server.common.data.id.UserId;
|
||||
import org.thingsboard.server.common.data.page.PageData;
|
||||
import org.thingsboard.server.common.data.page.PageLink;
|
||||
import org.thingsboard.server.common.data.page.SortOrder;
|
||||
import org.thingsboard.server.dao.housekeeper.HouseKeeperService;
|
||||
import org.thingsboard.server.service.entitiy.AbstractTbEntityService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@ -54,9 +53,6 @@ public class DefaultTbAlarmService extends AbstractTbEntityService implements Tb
|
||||
@Autowired
|
||||
protected TbAlarmCommentService alarmCommentService;
|
||||
|
||||
@Autowired
|
||||
private HouseKeeperService housekeeper;
|
||||
|
||||
@Override
|
||||
public Alarm save(Alarm alarm, User user) throws ThingsboardException {
|
||||
ActionType actionType = alarm.getId() == null ? ActionType.ADDED : ActionType.UPDATED;
|
||||
|
||||
@ -23,7 +23,6 @@ import com.google.common.util.concurrent.MoreExecutors;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.event.TransactionalEventListener;
|
||||
import org.thingsboard.common.util.ThingsBoardThreadFactory;
|
||||
@ -47,7 +46,6 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
@Slf4j
|
||||
public class InMemoryHouseKeeperServiceService implements HouseKeeperService {
|
||||
|
||||
@Lazy
|
||||
final TbAlarmService alarmService;
|
||||
|
||||
ListeningExecutorService executor;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user