diff options
author | Anton Tananaev <anton@traccar.org> | 2023-08-19 13:25:39 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-08-19 13:25:39 -0700 |
commit | 9df5d93ba0482b628d05b10c29100144beed5b5d (patch) | |
tree | 529e9a90c7b4073c5f72ee1fe849bfb3e10fbd5f /src/main/java/org/traccar/helper | |
parent | 51712e33c363d5150cfd690d6f3c466a38ab6ba3 (diff) | |
download | trackermap-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.java | 4 | ||||
-rw-r--r-- | src/main/java/org/traccar/helper/WebHelper.java | 2 |
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; |