diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/WebDataHandler.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java index a4c95aa3c..a30a41208 100644 --- a/src/org/traccar/WebDataHandler.java +++ b/src/org/traccar/WebDataHandler.java @@ -22,10 +22,16 @@ import org.traccar.helper.Log; import org.traccar.model.Device; import org.traccar.model.Position; +import java.util.HashMap; +import java.util.Map; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; -import java.util.*; +import java.util.Calendar; +import java.util.Formatter; +import java.util.Locale; +import java.util.TimeZone; + public class WebDataHandler extends BaseDataHandler { @@ -129,7 +135,7 @@ public class WebDataHandler extends BaseDataHandler { setContent(position, requestBuilder); requestBuilder.execute(); - + } else { Context.getAsyncHttpClient().prepareGet(formatRequest(position)).execute(); } |