Removed duplicated line in CustomerServiceImpl.java

This commit is contained in:
Artem Babak 2020-10-20 13:44:42 +03:00
parent f1b58a9df1
commit c1fe4a5dde

View File

@ -119,7 +119,6 @@ public class CustomerServiceImpl extends AbstractEntityService implements Custom
deviceService.unassignCustomerDevices(customer.getTenantId(), customerId); deviceService.unassignCustomerDevices(customer.getTenantId(), customerId);
edgeService.unassignCustomerEdges(customer.getTenantId(), customerId); edgeService.unassignCustomerEdges(customer.getTenantId(), customerId);
userService.deleteCustomerUsers(customer.getTenantId(), customerId); userService.deleteCustomerUsers(customer.getTenantId(), customerId);
edgeService.unassignCustomerEdges(customer.getTenantId(), customerId);
deleteEntityRelations(tenantId, customerId); deleteEntityRelations(tenantId, customerId);
customerDao.removeById(tenantId, customerId.getId()); customerDao.removeById(tenantId, customerId.getId());
} }