fixed comment issues in traccar device update functionality

pull/12/head
Deenath Geeganage 2 years ago
parent d46bed3186
commit cd0eaec265

@ -54,7 +54,7 @@ public interface DeviceAPIClientService {
* Updates device Traccar configuration records (like device name) * Updates device Traccar configuration records (like device name)
* *
* @params device to be modifies * @params device to be modifies
* @param tenantId of the device * @param tenantId of the user
* @throws TrackerManagementDAOException errors thrown while modifing a traccar device * @throws TrackerManagementDAOException errors thrown while modifing a traccar device
*/ */
void modifyDevice(Device device, int tenantId) throws ExecutionException, InterruptedException; 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 * @param traccarDevice with DeviceName UniqueId, Status, Disabled LastUpdate, PositionId, GroupId
* Model, Contact, Category, fenceIds * 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 * @throws TrackerManagementDAOException Failed while add Traccar Device the operation
*/ */
public void modifyDevice(TraccarDevice traccarDevice, int tenantId) throws TrackerManagementDAOException, ExecutionException, InterruptedException { public void modifyDevice(TraccarDevice traccarDevice, int tenantId) throws TrackerManagementDAOException, ExecutionException, InterruptedException {

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

Loading…
Cancel
Save