aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Device.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/Device.java')
-rw-r--r--src/org/traccar/model/Device.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index 7af1e8084..2fb26d282 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -77,19 +77,4 @@ public class Device implements Convertable, Factory {
dataId = ObjectConverter.getLong(json, "dataId");
}
- @Override
- public void fromRecord(ResultSet record) {
- try {
- id = ObjectConverter.getLong(record, "id");
- name = ObjectConverter.getString(record, "name");
- uniqueId = ObjectConverter.getString(record, "uniqueId");
- status = ObjectConverter.getString(record, "status");
- lastUpdate = ObjectConverter.getDate(record, "lastUpdate");
- positionId = ObjectConverter.getLong(record, "positionId");
- dataId = ObjectConverter.getLong(record, "dataId");
- } catch (SQLException error) {
- Log.warning(error);
- }
- }
-
}