diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-14 11:57:43 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-14 11:57:43 +1200 |
commit | f1bfd2e7e8791c8658f2196bc0ebd3f8294ac38e (patch) | |
tree | 9b81b90d6c4a78d205bdcea6d0df8230e9e44cb6 /src/org/traccar/Context.java | |
parent | 15f3258905e964ab3b23d9c11fde4a1946ef10b0 (diff) | |
download | trackermap-server-f1bfd2e7e8791c8658f2196bc0ebd3f8294ac38e.tar.gz trackermap-server-f1bfd2e7e8791c8658f2196bc0ebd3f8294ac38e.tar.bz2 trackermap-server-f1bfd2e7e8791c8658f2196bc0ebd3f8294ac38e.zip |
Add bytecode version check
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r-- | src/org/traccar/Context.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index e84e14b4c..1a35a2cb4 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -17,14 +17,13 @@ package org.traccar; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; +import com.ning.http.client.AsyncHttpClient; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Properties; import org.apache.velocity.app.VelocityEngine; -import org.asynchttpclient.AsyncHttpClient; -import org.asynchttpclient.DefaultAsyncHttpClient; import org.eclipse.jetty.util.URIUtil; import org.traccar.database.AliasesManager; import org.traccar.database.CalendarManager; @@ -156,7 +155,7 @@ public final class Context { return velocityEngine; } - private static final AsyncHttpClient ASYNC_HTTP_CLIENT = new DefaultAsyncHttpClient(); + private static final AsyncHttpClient ASYNC_HTTP_CLIENT = new AsyncHttpClient(); public static AsyncHttpClient getAsyncHttpClient() { return ASYNC_HTTP_CLIENT; |