aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web
diff options
context:
space:
mode:
authorGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-06 00:00:33 +0200
committerGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-06 00:00:33 +0200
commit393192ff0253e74e1ada9cb364a1c05cc7ac7e23 (patch)
treeea07f1c29c9f9124b205e9b1df46118b8a11825c /src/org/traccar/web
parent69c6d76fa6f5aba94477fae71fc348cd464ba2ac (diff)
downloadtrackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.gz
trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.bz2
trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.zip
Rename SupportedCommand to CommandType
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r--src/org/traccar/web/WebServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index bcb0442f6..8144af0b6 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -43,7 +43,7 @@ import org.traccar.api.resource.UserResource;
import org.traccar.api.resource.GroupResource;
import org.traccar.api.resource.DeviceResource;
import org.traccar.api.resource.PositionResource;
-import org.traccar.api.resource.SupportedCommandResource;
+import org.traccar.api.resource.CommandTypeResource;
import org.traccar.helper.Log;
import javax.naming.InitialContext;
@@ -148,7 +148,7 @@ public class WebServer {
resourceConfig.register(CorsResponseFilter.class);
resourceConfig.registerClasses(ServerResource.class, SessionResource.class, CommandResource.class,
GroupPermissionResource.class, DevicePermissionResource.class, UserResource.class,
- GroupResource.class, DeviceResource.class, PositionResource.class, SupportedCommandResource.class);
+ GroupResource.class, DeviceResource.class, PositionResource.class, CommandTypeResource.class);
servletHandler.addServlet(new ServletHolder(new ServletContainer(resourceConfig)), "/*");
handlers.addHandler(servletHandler);