aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-08 10:49:04 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-08 10:49:04 +1300
commit85a8a8fcce54e7230baacc077e4deca236ee0a89 (patch)
tree9a94d4156111d93d1b7993a78a8bb1936dcd3458 /src/org/traccar/api/resource
parent782a1441c1bc33045b341c77e1a2394052bd16e8 (diff)
downloadtraccar-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.tar.gz
traccar-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.tar.bz2
traccar-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.zip
Remove unused imports and methods
Diffstat (limited to 'src/org/traccar/api/resource')
-rw-r--r--src/org/traccar/api/resource/CommandResource.java9
-rw-r--r--src/org/traccar/api/resource/PermissionResource.java5
2 files changed, 0 insertions, 14 deletions
diff --git a/src/org/traccar/api/resource/CommandResource.java b/src/org/traccar/api/resource/CommandResource.java
index 9029d9213..fa0755143 100644
--- a/src/org/traccar/api/resource/CommandResource.java
+++ b/src/org/traccar/api/resource/CommandResource.java
@@ -17,23 +17,14 @@ package org.traccar.api.resource;
import org.traccar.Context;
import org.traccar.api.BaseResource;
-import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;
-import org.traccar.model.Device;
import javax.ws.rs.Consumes;
-import javax.ws.rs.DELETE;
-import javax.ws.rs.GET;
import javax.ws.rs.POST;
-import javax.ws.rs.PUT;
import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
-import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import java.sql.SQLException;
-import java.util.Collection;
@Path("commands")
@Produces(MediaType.APPLICATION_JSON)
diff --git a/src/org/traccar/api/resource/PermissionResource.java b/src/org/traccar/api/resource/PermissionResource.java
index c80d69e8c..84be6be0e 100644
--- a/src/org/traccar/api/resource/PermissionResource.java
+++ b/src/org/traccar/api/resource/PermissionResource.java
@@ -17,22 +17,17 @@ package org.traccar.api.resource;
import org.traccar.Context;
import org.traccar.api.BaseResource;
-import org.traccar.model.Device;
import org.traccar.model.Permission;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
-import javax.ws.rs.GET;
import javax.ws.rs.POST;
-import javax.ws.rs.PUT;
import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.sql.SQLException;
-import java.util.Collection;
@Path("permissions")
@Produces(MediaType.APPLICATION_JSON)