aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-10-02 08:46:10 -0700
committerAnton Tananaev <anton@traccar.org>2022-10-02 08:46:10 -0700
commit79b3c9dd2a5ad82010ebabcd9a15bd52a1a2b765 (patch)
treea218cd8cc916b3c2308e7b0f4de6806503556f53 /src/main/java/org/traccar/web
parentae3eddba7e0a6688807f71d2c290618d1c49da05 (diff)
downloadtrackermap-server-79b3c9dd2a5ad82010ebabcd9a15bd52a1a2b765.tar.gz
trackermap-server-79b3c9dd2a5ad82010ebabcd9a15bd52a1a2b765.tar.bz2
trackermap-server-79b3c9dd2a5ad82010ebabcd9a15bd52a1a2b765.zip
Remove duplicate class
Diffstat (limited to 'src/main/java/org/traccar/web')
-rw-r--r--src/main/java/org/traccar/web/WebServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java
index a7ac4d6b2..79d19cc9b 100644
--- a/src/main/java/org/traccar/web/WebServer.java
+++ b/src/main/java/org/traccar/web/WebServer.java
@@ -45,12 +45,12 @@ import org.slf4j.LoggerFactory;
import org.traccar.LifecycleObject;
import org.traccar.api.CorsResponseFilter;
import org.traccar.api.DateParameterConverterProvider;
-import org.traccar.api.ObjectMapperProvider;
import org.traccar.api.ResourceErrorHandler;
import org.traccar.api.resource.ServerResource;
import org.traccar.api.security.SecurityRequestFilter;
import org.traccar.config.Config;
import org.traccar.config.Keys;
+import org.traccar.helper.ObjectMapperContextResolver;
import javax.servlet.DispatcherType;
import javax.servlet.ServletException;
@@ -178,7 +178,7 @@ public class WebServer implements LifecycleObject {
ResourceConfig resourceConfig = new ResourceConfig();
resourceConfig.registerClasses(
JacksonFeature.class,
- ObjectMapperProvider.class,
+ ObjectMapperContextResolver.class,
DateParameterConverterProvider.class,
SecurityRequestFilter.class,
CorsResponseFilter.class,