aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-11 14:11:01 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-11 14:11:01 -0700
commitaa00ed23f96f91cfc879f02e61333511e3b7b11b (patch)
tree908ae1600bec99e39ea448b29faecf4669a4c9e5
parenta401b40ee3b69d5679031a1e1d7287a0a56f4160 (diff)
downloadtrackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.tar.gz
trackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.tar.bz2
trackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.zip
Remove JSR353 support
-rw-r--r--build.gradle1
-rw-r--r--src/main/java/org/traccar/Context.java2
2 files changed, 0 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 8c196043a..46227d1ff 100644
--- a/build.gradle
+++ b/build.gradle
@@ -63,7 +63,6 @@ dependencies {
implementation "org.glassfish.jersey.inject:jersey-hk2:$jerseyVersion"
implementation "org.glassfish.hk2:guice-bridge:2.6.1" // same version as jersey-hk2
implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jacksonVersion"
- implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr353:$jacksonVersion"
implementation "org.liquibase:liquibase-core:4.7.0"
implementation "com.sun.mail:javax.mail:1.6.2"
implementation "org.jxls:jxls:2.4.7" // needs upgrade (wait for jexl 4)
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java
index 627acd4e2..68a711878 100644
--- a/src/main/java/org/traccar/Context.java
+++ b/src/main/java/org/traccar/Context.java
@@ -17,7 +17,6 @@ package org.traccar;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
-import com.fasterxml.jackson.datatype.jsr353.JSR353Module;
import org.traccar.config.Config;
import org.traccar.config.Keys;
import org.traccar.database.BaseObjectManager;
@@ -140,7 +139,6 @@ public final class Context {
if (config.getBoolean(Keys.WEB_SANITIZE)) {
objectMapper.registerModule(new SanitizerModule());
}
- objectMapper.registerModule(new JSR353Module());
objectMapper.setConfig(
objectMapper.getSerializationConfig().without(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS));