aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:50:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:50:55 +1200
commitf8055b4ccb4a248d8bcd7914d72a18596f6c5db8 (patch)
tree2ec1b6e67b97b4c0236e9e4cd3bc1d0eb97a01a8 /src/org/traccar/Context.java
parent2e1d36be1e21209926d01ea4fc32fd4925f7f9d6 (diff)
downloadtrackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.tar.gz
trackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.tar.bz2
trackermap-server-f8055b4ccb4a248d8bcd7914d72a18596f6c5db8.zip
Fix minor formatting issues
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 29e85a42c..c36c66322 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -22,9 +22,9 @@ import org.traccar.database.IdentityManager;
import org.traccar.database.PermissionsManager;
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.helper.Log;
import org.traccar.web.WebServer;
@@ -111,7 +111,7 @@ public class Context {
String type = config.getString("geocoder.type", "google");
String url = config.getString("geocoder.url");
- int cacheSize = config.getInteger("geocoder.cacheSize");
+ int cacheSize = config.getInteger("geocoder.cacheSize");
switch (type) {
case "google":
reverseGeocoder = new GoogleReverseGeocoder(cacheSize);
@@ -122,10 +122,10 @@ public class Context {
case "gisgraphy":
reverseGeocoder = new GisgraphyReverseGeocoder(url, cacheSize);
break;
- case "mapquest":
- String key = config.getString("geocoder.key");
- reverseGeocoder = new MapQuestReverseGeocoder(url, key, cacheSize);
- break;
+ case "mapquest":
+ String key = config.getString("geocoder.key");
+ reverseGeocoder = new MapQuestReverseGeocoder(url, key, cacheSize);
+ break;
}
}