diff options
author | Anton Tananaev <anton@traccar.org> | 2022-02-20 23:10:45 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-02-20 23:10:45 -0800 |
commit | 4b4201de3519ce744dcbba303bd10aaaa4d3fa7b (patch) | |
tree | 6179c4c4271507a4b21f528b3fdf5347cff508e9 /src/main/java/org/traccar/web/WebServer.java | |
parent | b5b9eb8207f42235f7ed2a52a6424f5629590992 (diff) | |
download | trackermap-server-4b4201de3519ce744dcbba303bd10aaaa4d3fa7b.tar.gz trackermap-server-4b4201de3519ce744dcbba303bd10aaaa4d3fa7b.tar.bz2 trackermap-server-4b4201de3519ce744dcbba303bd10aaaa4d3fa7b.zip |
Remove unnecessary file
Diffstat (limited to 'src/main/java/org/traccar/web/WebServer.java')
-rw-r--r-- | src/main/java/org/traccar/web/WebServer.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java index 46c1f3912..c8c564940 100644 --- a/src/main/java/org/traccar/web/WebServer.java +++ b/src/main/java/org/traccar/web/WebServer.java @@ -52,7 +52,6 @@ import org.traccar.config.Config; import org.traccar.api.AsyncSocketServlet; import org.traccar.api.CorsResponseFilter; import org.traccar.api.MediaFilter; -import org.traccar.api.ObjectMapperProvider; import org.traccar.api.ResourceErrorHandler; import org.traccar.api.SecurityRequestFilter; import org.traccar.api.resource.ServerResource; @@ -177,7 +176,7 @@ public class WebServer { ResourceConfig resourceConfig = new ResourceConfig(); resourceConfig.registerClasses( - JacksonFeature.class, ObjectMapperProvider.class, ResourceErrorHandler.class, + JacksonFeature.class, ResourceErrorHandler.class, SecurityRequestFilter.class, CorsResponseFilter.class, DateParameterConverterProvider.class); resourceConfig.packages(ServerResource.class.getPackage().getName()); resourceConfig.register(new ContainerLifecycleListener() { |