diff options
author | Gabor Somogyi <Gabor_Somogyi@epam.com> | 2016-05-04 12:49:23 +0200 |
---|---|---|
committer | Gabor Somogyi <Gabor_Somogyi@epam.com> | 2016-05-04 12:49:23 +0200 |
commit | 1cc86f7df5704aa19d1af643c5fbf852a301858b (patch) | |
tree | 28ffae07132f57c2cdd7fd065b2315f4fb7cd7fd /src/org/traccar/api/resource/SupportedCommandResource.java | |
parent | 1a605980b1a120614ccaeb56faac37b05a81a4e9 (diff) | |
download | trackermap-server-1cc86f7df5704aa19d1af643c5fbf852a301858b.tar.gz trackermap-server-1cc86f7df5704aa19d1af643c5fbf852a301858b.tar.bz2 trackermap-server-1cc86f7df5704aa19d1af643c5fbf852a301858b.zip |
SupportedCommand model removed
Diffstat (limited to 'src/org/traccar/api/resource/SupportedCommandResource.java')
-rw-r--r-- | src/org/traccar/api/resource/SupportedCommandResource.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/api/resource/SupportedCommandResource.java b/src/org/traccar/api/resource/SupportedCommandResource.java index bf4fd4969..097acaa4f 100644 --- a/src/org/traccar/api/resource/SupportedCommandResource.java +++ b/src/org/traccar/api/resource/SupportedCommandResource.java @@ -18,7 +18,6 @@ package org.traccar.api.resource; import org.traccar.Context; import org.traccar.api.BaseResource; import org.traccar.model.Position; -import org.traccar.model.SupportedCommand; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; @@ -32,7 +31,7 @@ import java.util.Collections; public class SupportedCommandResource extends BaseResource { @GET - public Collection<SupportedCommand> get(@QueryParam("deviceId") long deviceId) throws SQLException { + public Collection<String> get(@QueryParam("deviceId") long deviceId) throws SQLException { Context.getPermissionsManager().checkDevice(getUserId(), deviceId); Position lastPosition = Context.getConnectionManager().getLastPosition(deviceId); if (lastPosition != null) { |