aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Device.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 11:12:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 11:12:55 +1200
commit427113e0aabf1b8ab54288263c3e809f292a5a05 (patch)
tree7a09673050424df35c542be0538bedb10289fe9c /src/org/traccar/model/Device.java
parentdb0af8a22724d153baf5a12edc1eb5ee551fbc14 (diff)
downloadtrackermap-server-427113e0aabf1b8ab54288263c3e809f292a5a05.tar.gz
trackermap-server-427113e0aabf1b8ab54288263c3e809f292a5a05.tar.bz2
trackermap-server-427113e0aabf1b8ab54288263c3e809f292a5a05.zip
Remove unused fromRecord method
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);
- }
- }
-
}