aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geolocation/MozillaGeolocationProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/geolocation/MozillaGeolocationProvider.java')
-rw-r--r--src/org/traccar/geolocation/MozillaGeolocationProvider.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/org/traccar/geolocation/MozillaGeolocationProvider.java b/src/org/traccar/geolocation/MozillaGeolocationProvider.java
index af917d6fe..c6a73a52b 100644
--- a/src/org/traccar/geolocation/MozillaGeolocationProvider.java
+++ b/src/org/traccar/geolocation/MozillaGeolocationProvider.java
@@ -19,12 +19,8 @@ public class MozillaGeolocationProvider extends UniversalGeolocationProvider {
private static final String URL = "https://location.services.mozilla.com/v1/geolocate";
- public MozillaGeolocationProvider() {
- this("test");
- }
-
public MozillaGeolocationProvider(String key) {
- super(URL, key);
+ super(URL, key != null ? key : "test");
}
}