Merge pull request 'fixed comment issues in traccar device update functionality' (#12) from traccar_consistency_issue into master

Reviewed-on: #12
traccar_consistency_issue
Deenath Geeganage 2 years ago
commit 24122400be

@ -54,7 +54,7 @@ public interface DeviceAPIClientService {
* Updates device Traccar configuration records (like device name)
*
* @params device to be modifies
* @param tenantId of the device
* @param tenantId of the user
* @throws TrackerManagementDAOException errors thrown while modifing a traccar device
*/
void modifyDevice(Device device, int tenantId) throws ExecutionException, InterruptedException;

@ -474,7 +474,7 @@ public class TraccarClientFactory {
*
* @param traccarDevice with DeviceName UniqueId, Status, Disabled LastUpdate, PositionId, GroupId
* Model, Contact, Category, fenceIds
* @param tenantId tentantId of the specific device
* @param tenantId tentantId of the user
* @throws TrackerManagementDAOException Failed while add Traccar Device the operation
*/
public void modifyDevice(TraccarDevice traccarDevice, int tenantId) throws TrackerManagementDAOException, ExecutionException, InterruptedException {

@ -68,7 +68,7 @@ public class DeviceAPIClientServiceImpl implements DeviceAPIClientService {
try {
client.modifyDevice(traccarDevice, tenantId);
} catch (TrackerManagementDAOException e) {
log.error("Error occurred while mapping with deviceId\"", e);
log.error("Error occurred while mapping with deviceId", e);
}
}

Loading…
Cancel
Save