aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2024-06-17 20:03:04 +0200
committerMatjaž Črnko <m.crnko@txt.si>2024-06-17 20:03:04 +0200
commita12690a6acffb356cc90791159c1cb60161bf1af (patch)
treee623c42ab3ab1416131aa6adebb47a59b0b2a50f /src/main/java/org
parent0530bdb6c644d67ed90231e902898e74532ef1b7 (diff)
downloadtrackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.tar.gz
trackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.tar.bz2
trackermap-server-a12690a6acffb356cc90791159c1cb60161bf1af.zip
fix: CamelCase
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/MainModule.java4
-rw-r--r--src/main/java/org/traccar/geocoder/BanGeocoder.java2
-rw-r--r--src/main/java/org/traccar/geocoder/GeocodeJsonGeocoder.java (renamed from src/main/java/org/traccar/geocoder/GeocodeJSONGeocoder.java)4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index 2b345847f..806e6da18 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -68,7 +68,7 @@ import org.traccar.geocoder.OpenCageGeocoder;
import org.traccar.geocoder.PositionStackGeocoder;
import org.traccar.geocoder.PlusCodesGeocoder;
import org.traccar.geocoder.TomTomGeocoder;
-import org.traccar.geocoder.GeocodeJSONGeocoder;
+import org.traccar.geocoder.GeocodeJsonGeocoder;
import org.traccar.geolocation.GeolocationProvider;
import org.traccar.geolocation.GoogleGeolocationProvider;
import org.traccar.geolocation.OpenCellIdGeolocationProvider;
@@ -263,7 +263,7 @@ public class MainModule extends AbstractModule {
geocoder = new GeoapifyGeocoder(client, key, language, cacheSize, addressFormat);
break;
case "geocodejson":
- geocoder = new GeocodeJSONGeocoder(client, url, key, language, cacheSize, addressFormat);
+ geocoder = new GeocodeJsonGeocoder(client, url, key, language, cacheSize, addressFormat);
break;
default:
geocoder = new GoogleGeocoder(client, key, language, cacheSize, addressFormat);
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);
}