aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
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 /src/main/java
parenta401b40ee3b69d5679031a1e1d7287a0a56f4160 (diff)
downloadtrackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.tar.gz
trackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.tar.bz2
trackermap-server-aa00ed23f96f91cfc879f02e61333511e3b7b11b.zip
Remove JSR353 support
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/Context.java2
1 files changed, 0 insertions, 2 deletions
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));