aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 21:46:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 21:46:25 +1200
commit6e2387149e8758a6ea0c0788c0f70287ac8a36f1 (patch)
treec5341792e41595b3b0416dfd2df59f06b2bb6b5d /src/org/traccar/Context.java
parenta307569274f315c786fa4b342f97dd9e1ac0a213 (diff)
downloadtrackermap-server-6e2387149e8758a6ea0c0788c0f70287ac8a36f1.tar.gz
trackermap-server-6e2387149e8758a6ea0c0788c0f70287ac8a36f1.tar.bz2
trackermap-server-6e2387149e8758a6ea0c0788c0f70287ac8a36f1.zip
Fix minor formatting issues
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 4629dc39b..46cb89fe0 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -24,9 +24,8 @@ import org.traccar.geocode.GisgraphyReverseGeocoder;
import org.traccar.geocode.GoogleReverseGeocoder;
import org.traccar.geocode.MapQuestReverseGeocoder;
import org.traccar.geocode.NominatimReverseGeocoder;
-import org.traccar.geocode.ReverseGeocoder;
-import org.traccar.geocode.MapQuestReverseGeocoder;
import org.traccar.geocode.OpenCageReverseGeocoder;
+import org.traccar.geocode.ReverseGeocoder;
import org.traccar.helper.Log;
import org.traccar.web.WebServer;
@@ -112,7 +111,7 @@ public class Context {
if (config.getBoolean("geocoder.enable")) {
String type = config.getString("geocoder.type", "google");
String url = config.getString("geocoder.url");
- String key = config.getString("geocoder.key");
+ String key = config.getString("geocoder.key");
int cacheSize = config.getInteger("geocoder.cacheSize");
switch (type) {
@@ -127,7 +126,7 @@ public class Context {
break;
case "mapquest":
reverseGeocoder = new MapQuestReverseGeocoder(url, key, cacheSize);
- break;
+ break;
case "opencage":
reverseGeocoder = new OpenCageReverseGeocoder(url, key, cacheSize);
break;