aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-19 13:25:39 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-19 13:25:39 -0700
commit9df5d93ba0482b628d05b10c29100144beed5b5d (patch)
tree529e9a90c7b4073c5f72ee1fe849bfb3e10fbd5f /src/main/java/org/traccar/helper
parent51712e33c363d5150cfd690d6f3c466a38ab6ba3 (diff)
downloadtrackermap-server-9df5d93ba0482b628d05b10c29100144beed5b5d.tar.gz
trackermap-server-9df5d93ba0482b628d05b10c29100144beed5b5d.tar.bz2
trackermap-server-9df5d93ba0482b628d05b10c29100144beed5b5d.zip
Move from javax to jakarta
Diffstat (limited to 'src/main/java/org/traccar/helper')
-rw-r--r--src/main/java/org/traccar/helper/ObjectMapperContextResolver.java4
-rw-r--r--src/main/java/org/traccar/helper/WebHelper.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/helper/ObjectMapperContextResolver.java b/src/main/java/org/traccar/helper/ObjectMapperContextResolver.java
index b40e30d76..634950b85 100644
--- a/src/main/java/org/traccar/helper/ObjectMapperContextResolver.java
+++ b/src/main/java/org/traccar/helper/ObjectMapperContextResolver.java
@@ -17,8 +17,8 @@ package org.traccar.helper;
import com.fasterxml.jackson.databind.ObjectMapper;
-import javax.inject.Inject;
-import javax.ws.rs.ext.ContextResolver;
+import jakarta.inject.Inject;
+import jakarta.ws.rs.ext.ContextResolver;
// This does not work as a lambda
public class ObjectMapperContextResolver implements ContextResolver<ObjectMapper> {
diff --git a/src/main/java/org/traccar/helper/WebHelper.java b/src/main/java/org/traccar/helper/WebHelper.java
index e2844bc4d..9533fe84b 100644
--- a/src/main/java/org/traccar/helper/WebHelper.java
+++ b/src/main/java/org/traccar/helper/WebHelper.java
@@ -18,7 +18,7 @@ package org.traccar.helper;
import java.net.InetAddress;
import java.net.UnknownHostException;
-import javax.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequest;
import org.eclipse.jetty.util.URIUtil;
import org.traccar.config.Config;