aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-25 20:24:40 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-26 08:41:45 +1300
commit0f87445428a831e0f0d3b69f6f07f2a60272f2fb (patch)
tree38d1a665f0f3c3328253dc4ad4509f1d682a19cb /src/org/traccar/notification
parent87bdccbe9843e38174ad345b8e474b1cded9f985 (diff)
downloadtraccar-server-0f87445428a831e0f0d3b69f6f07f2a60272f2fb.tar.gz
traccar-server-0f87445428a831e0f0d3b69f6f07f2a60272f2fb.tar.bz2
traccar-server-0f87445428a831e0f0d3b69f6f07f2a60272f2fb.zip
Clean up unused imports
Diffstat (limited to 'src/org/traccar/notification')
-rw-r--r--src/org/traccar/notification/EventForwarder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/notification/EventForwarder.java b/src/org/traccar/notification/EventForwarder.java
index ad8134f18..d1bdd4aba 100644
--- a/src/org/traccar/notification/EventForwarder.java
+++ b/src/org/traccar/notification/EventForwarder.java
@@ -17,7 +17,7 @@ package org.traccar.notification;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.ning.http.client.AsyncHttpClient.BoundRequestBuilder;
-import java.util.Arrays;
+import java.util.Collections;
import java.util.List;
import org.traccar.Context;
@@ -73,7 +73,7 @@ public abstract class EventForwarder {
for (String paramLine: paramsLines) {
splitedLine = paramLine.split(separator, 2);
if (splitedLine.length == 2) {
- paramsMap.put(splitedLine[0].trim(), Arrays.asList(splitedLine[1].trim()));
+ paramsMap.put(splitedLine[0].trim(), Collections.singletonList(splitedLine[1].trim()));
}
}
return paramsMap;