aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/server/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-11 22:25:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-11 22:25:38 +1300
commit7cdc2fbdb4cbb1b55274278e51222bbb874dcf13 (patch)
tree6c4a9e775a5f370b93f5c614b9652bb8eccec740 /src/org/traccar/web/server/model
parent230ff57c8880aa8d2f749c76b77b89a4eb3818d8 (diff)
downloadtrackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.tar.gz
trackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.tar.bz2
trackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.zip
Polish map panel and fix few bugs
Diffstat (limited to 'src/org/traccar/web/server/model')
-rw-r--r--src/org/traccar/web/server/model/DataServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java
index 47e313d2..0b2a80ba 100644
--- a/src/org/traccar/web/server/model/DataServiceImpl.java
+++ b/src/org/traccar/web/server/model/DataServiceImpl.java
@@ -126,8 +126,8 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService
@Override
public List<Device> getDevices() {
- User user = getUser();
List<Device> devices = new LinkedList<Device>();
+ User user = getUser();
devices.addAll(user.getDevices());
return devices;
}