aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-25 21:13:28 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-25 21:13:28 -0700
commit03a5a0c17cb03a558011c8e817f023d0030ac6ab (patch)
tree068aae81f27532c6d0abbf35cf9d21ad497b0820 /src/main/java/org/traccar/MainModule.java
parent4628a7231116a612dff02d38ba5275f642979207 (diff)
downloadtrackermap-server-03a5a0c17cb03a558011c8e817f023d0030ac6ab.tar.gz
trackermap-server-03a5a0c17cb03a558011c8e817f023d0030ac6ab.tar.bz2
trackermap-server-03a5a0c17cb03a558011c8e817f023d0030ac6ab.zip
Register all geocoding requests
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index 2b7fa5c61..350af6bd7 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -286,10 +286,9 @@ public class MainModule extends AbstractModule {
@Singleton
@Provides
public static GeocoderHandler provideGeocoderHandler(
- Config config, @Nullable Geocoder geocoder, IdentityManager identityManager,
- StatisticsManager statisticsManager) {
+ Config config, @Nullable Geocoder geocoder, IdentityManager identityManager) {
if (geocoder != null) {
- return new GeocoderHandler(config, geocoder, identityManager, statisticsManager);
+ return new GeocoderHandler(config, geocoder, identityManager);
}
return null;
}