From 1e2d7682880e57cde051d2e54c0f792aa3fc5ec3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 3 Dec 2015 13:36:02 +1300 Subject: Remove unused class imports --- src/org/traccar/api/resource/PositionResource.java | 7 ------- src/org/traccar/web/WebServer.java | 2 -- 2 files changed, 9 deletions(-) (limited to 'src/org') diff --git a/src/org/traccar/api/resource/PositionResource.java b/src/org/traccar/api/resource/PositionResource.java index b977b6b33..e2c405d96 100644 --- a/src/org/traccar/api/resource/PositionResource.java +++ b/src/org/traccar/api/resource/PositionResource.java @@ -17,25 +17,18 @@ package org.traccar.api.resource; import org.traccar.Context; import org.traccar.api.BaseResource; -import org.traccar.model.Device; import org.traccar.model.Position; import org.traccar.web.JsonConverter; 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.QueryParam; 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; -import java.util.Date; @Path("positions") @Produces(MediaType.APPLICATION_JSON) diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 63d80a7f3..4e451af6e 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -20,11 +20,9 @@ import java.io.Writer; import java.net.InetSocketAddress; import javax.naming.InitialContext; import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; import javax.sql.DataSource; import org.eclipse.jetty.http.HttpStatus; -import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.ErrorHandler; import org.eclipse.jetty.server.handler.HandlerList; -- cgit v1.2.3