diff options
author | Matjaž Črnko <m.crnko@txt.si> | 2024-06-17 20:03:04 +0200 |
---|---|---|
committer | Matjaž Črnko <m.crnko@txt.si> | 2024-06-17 20:03:04 +0200 |
commit | a12690a6acffb356cc90791159c1cb60161bf1af (patch) | |
tree | e623c42ab3ab1416131aa6adebb47a59b0b2a50f /src/main/java/org/traccar/geocoder | |
parent | 0530bdb6c644d67ed90231e902898e74532ef1b7 (diff) | |
download | trackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.tar.gz trackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.tar.bz2 trackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.zip |
fix: CamelCase
Diffstat (limited to 'src/main/java/org/traccar/geocoder')
-rw-r--r-- | src/main/java/org/traccar/geocoder/BanGeocoder.java | 2 | ||||
-rw-r--r-- | src/main/java/org/traccar/geocoder/GeocodeJsonGeocoder.java (renamed from src/main/java/org/traccar/geocoder/GeocodeJSONGeocoder.java) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/geocoder/BanGeocoder.java b/src/main/java/org/traccar/geocoder/BanGeocoder.java index 91610e952..128ef4b84 100644 --- a/src/main/java/org/traccar/geocoder/BanGeocoder.java +++ b/src/main/java/org/traccar/geocoder/BanGeocoder.java @@ -23,7 +23,7 @@ package org.traccar.geocoder; import jakarta.json.JsonObject; import jakarta.ws.rs.client.Client; -public class BanGeocoder extends GeocodeJSONGeocoder { +public class BanGeocoder extends GeocodeJsonGeocoder { public BanGeocoder(Client client, int cacheSize, AddressFormat addressFormat) { super(client, "https://api-adresse.data.gouv.fr/reverse/", null, null, cacheSize, addressFormat); diff --git a/src/main/java/org/traccar/geocoder/GeocodeJSONGeocoder.java b/src/main/java/org/traccar/geocoder/GeocodeJsonGeocoder.java index bbadfa9f1..da4688423 100644 --- a/src/main/java/org/traccar/geocoder/GeocodeJSONGeocoder.java +++ b/src/main/java/org/traccar/geocoder/GeocodeJsonGeocoder.java @@ -20,7 +20,7 @@ import jakarta.json.JsonArray; import jakarta.json.JsonObject; import jakarta.ws.rs.client.Client; -public class GeocodeJSONGeocoder extends JsonGeocoder { +public class GeocodeJsonGeocoder extends JsonGeocoder { private static String formatUrl(String url, String key, String language) { if (url == null) { @@ -36,7 +36,7 @@ public class GeocodeJSONGeocoder extends JsonGeocoder { return url; } - public GeocodeJSONGeocoder( + public GeocodeJsonGeocoder( Client client, String url, String key, String language, int cacheSize, AddressFormat addressFormat) { super(client, formatUrl(url, key, language), cacheSize, addressFormat); } |