aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/Context.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 16ff33f18..b3fe881e6 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -99,7 +99,7 @@ public class Context {
String type = properties.getProperty("geocoder.type");
if (type != null && type.equals("nominatim")) {
reverseGeocoder = new NominatimReverseGeocoder(properties.getProperty("geocoder.url"));
- } if (type != null && type.equals("gisgraphy")) {
+ } else if (type != null && type.equals("gisgraphy")) {
reverseGeocoder = new GisgraphyReverseGeocoder(properties.getProperty("geocoder.url"));
} else {
reverseGeocoder = new GoogleReverseGeocoder();