aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/http/AsyncServlet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/http/AsyncServlet.java')
-rw-r--r--src/org/traccar/http/AsyncServlet.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/http/AsyncServlet.java b/src/org/traccar/http/AsyncServlet.java
index c66126667..927e93c78 100644
--- a/src/org/traccar/http/AsyncServlet.java
+++ b/src/org/traccar/http/AsyncServlet.java
@@ -20,7 +20,6 @@ import org.jboss.netty.util.TimerTask;
import org.traccar.Context;
import org.traccar.GlobalTimer;
import org.traccar.database.DataCache;
-import org.traccar.database.ObjectConverter;
import org.traccar.helper.Log;
import org.traccar.model.Position;
@@ -160,7 +159,7 @@ public class AsyncServlet extends HttpServlet {
JsonObjectBuilder result = Json.createObjectBuilder();
result.add("success", true);
- result.add("data", ObjectConverter.arrayToJson(positions.values()));
+ result.add("data", JsonConverter.arrayToJson(positions.values()));
positions.clear();
try {