aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-21 15:38:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-21 15:38:48 +1300
commit8a71123afda774b440690362f937a0402cadebdd (patch)
treebf04c796d4aa166266cdde6b963547487850cc13 /src/org/traccar
parentbf8ff1d60df4ae0656640a4c888b4fa1c5cf502e (diff)
downloadtrackermap-server-8a71123afda774b440690362f937a0402cadebdd.tar.gz
trackermap-server-8a71123afda774b440690362f937a0402cadebdd.tar.bz2
trackermap-server-8a71123afda774b440690362f937a0402cadebdd.zip
Fix style issues and unused imports
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/api/resource/CommandResource.java1
-rw-r--r--src/org/traccar/model/Command.java2
-rw-r--r--src/org/traccar/protocol/MegastekProtocol.java2
-rw-r--r--src/org/traccar/web/CommandServlet.java1
4 files changed, 1 insertions, 5 deletions
diff --git a/src/org/traccar/api/resource/CommandResource.java b/src/org/traccar/api/resource/CommandResource.java
index 3cd39d182..f41faae2e 100644
--- a/src/org/traccar/api/resource/CommandResource.java
+++ b/src/org/traccar/api/resource/CommandResource.java
@@ -25,7 +25,6 @@ import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import javax.ws.rs.core.SecurityContext;
@Path("commands")
@Produces(MediaType.APPLICATION_JSON)
diff --git a/src/org/traccar/model/Command.java b/src/org/traccar/model/Command.java
index bc99967b6..59e96be0e 100644
--- a/src/org/traccar/model/Command.java
+++ b/src/org/traccar/model/Command.java
@@ -17,7 +17,7 @@ package org.traccar.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-@JsonIgnoreProperties(ignoreUnknown=true)
+@JsonIgnoreProperties(ignoreUnknown = true)
public class Command extends Extensible {
public static final String TYPE_POSITION_SINGLE = "positionSingle";
diff --git a/src/org/traccar/protocol/MegastekProtocol.java b/src/org/traccar/protocol/MegastekProtocol.java
index 76afc6ad5..cdf891afe 100644
--- a/src/org/traccar/protocol/MegastekProtocol.java
+++ b/src/org/traccar/protocol/MegastekProtocol.java
@@ -17,11 +17,9 @@ package org.traccar.protocol;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
-import org.jboss.netty.handler.codec.frame.LineBasedFrameDecoder;
import org.jboss.netty.handler.codec.string.StringDecoder;
import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
-import org.traccar.CharacterDelimiterFrameDecoder;
import org.traccar.TrackerServer;
import java.util.List;
diff --git a/src/org/traccar/web/CommandServlet.java b/src/org/traccar/web/CommandServlet.java
index 2f1493193..ff8c85542 100644
--- a/src/org/traccar/web/CommandServlet.java
+++ b/src/org/traccar/web/CommandServlet.java
@@ -22,7 +22,6 @@ import javax.servlet.http.HttpServletResponse;
import org.traccar.Context;
import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;
-import org.traccar.model.Device;
public class CommandServlet extends BaseServlet {