From 46d1a556492a6e88b9de4eb9f4f674dbd70c27bc Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 2 Feb 2023 00:05:08 +0100 Subject: [PATCH] [DEV] udpate jakarta --- back/src/org/kar/karusic/WebLauncher.java | 2 +- back/src/org/kar/karusic/api/AlbumResource.java | 6 +++--- back/src/org/kar/karusic/api/ArtistResource.java | 6 +++--- back/src/org/kar/karusic/api/Front.java | 10 +++++----- back/src/org/kar/karusic/api/GenderResource.java | 6 +++--- back/src/org/kar/karusic/api/HealthCheck.java | 6 +++--- back/src/org/kar/karusic/api/PlaylistResource.java | 6 +++--- back/src/org/kar/karusic/api/TrackResource.java | 6 +++--- back/src/org/kar/karusic/api/UserResource.java | 8 ++++---- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/back/src/org/kar/karusic/WebLauncher.java b/back/src/org/kar/karusic/WebLauncher.java index b303775..f4dd247 100755 --- a/back/src/org/kar/karusic/WebLauncher.java +++ b/back/src/org/kar/karusic/WebLauncher.java @@ -2,7 +2,7 @@ package org.kar.karusic; import java.net.URI; -import javax.ws.rs.core.UriBuilder; +import jakarta.ws.rs.core.UriBuilder; import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; diff --git a/back/src/org/kar/karusic/api/AlbumResource.java b/back/src/org/kar/karusic/api/AlbumResource.java index 523c3fb..c374e52 100644 --- a/back/src/org/kar/karusic/api/AlbumResource.java +++ b/back/src/org/kar/karusic/api/AlbumResource.java @@ -8,9 +8,9 @@ import org.kar.karusic.model.Album; import org.kar.karusic.model.Track; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.io.InputStream; import java.util.List; diff --git a/back/src/org/kar/karusic/api/ArtistResource.java b/back/src/org/kar/karusic/api/ArtistResource.java index 43bd325..bd142c5 100644 --- a/back/src/org/kar/karusic/api/ArtistResource.java +++ b/back/src/org/kar/karusic/api/ArtistResource.java @@ -7,9 +7,9 @@ import org.kar.archidata.SqlWrapper; import org.kar.archidata.util.DataTools; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.io.InputStream; import java.util.List; diff --git a/back/src/org/kar/karusic/api/Front.java b/back/src/org/kar/karusic/api/Front.java index 3c10f9c..076f890 100644 --- a/back/src/org/kar/karusic/api/Front.java +++ b/back/src/org/kar/karusic/api/Front.java @@ -4,11 +4,11 @@ import java.io.File; import java.util.List; import org.kar.archidata.annotation.security.PermitAll; -import javax.ws.rs.*; -import javax.ws.rs.core.CacheControl; -import javax.ws.rs.core.PathSegment; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.ResponseBuilder; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.CacheControl; +import jakarta.ws.rs.core.PathSegment; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.core.Response.ResponseBuilder; import org.kar.archidata.api.FrontGeneric; import org.kar.karusic.util.ConfigVariable; diff --git a/back/src/org/kar/karusic/api/GenderResource.java b/back/src/org/kar/karusic/api/GenderResource.java index 343d300..0c7ff0e 100644 --- a/back/src/org/kar/karusic/api/GenderResource.java +++ b/back/src/org/kar/karusic/api/GenderResource.java @@ -8,9 +8,9 @@ import org.kar.archidata.SqlWrapper; import org.kar.archidata.util.DataTools; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.io.InputStream; import java.util.List; diff --git a/back/src/org/kar/karusic/api/HealthCheck.java b/back/src/org/kar/karusic/api/HealthCheck.java index 37021f9..a088855 100644 --- a/back/src/org/kar/karusic/api/HealthCheck.java +++ b/back/src/org/kar/karusic/api/HealthCheck.java @@ -1,9 +1,9 @@ package org.kar.karusic.api; import org.kar.archidata.annotation.security.PermitAll; -import javax.ws.rs.core.Response; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; import org.kar.archidata.util.JWTWrapper; diff --git a/back/src/org/kar/karusic/api/PlaylistResource.java b/back/src/org/kar/karusic/api/PlaylistResource.java index 55520f8..9cf5dd5 100644 --- a/back/src/org/kar/karusic/api/PlaylistResource.java +++ b/back/src/org/kar/karusic/api/PlaylistResource.java @@ -7,9 +7,9 @@ import org.kar.archidata.SqlWrapper; import org.kar.archidata.util.DataTools; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.io.InputStream; import java.util.List; diff --git a/back/src/org/kar/karusic/api/TrackResource.java b/back/src/org/kar/karusic/api/TrackResource.java index b56558c..371be7b 100644 --- a/back/src/org/kar/karusic/api/TrackResource.java +++ b/back/src/org/kar/karusic/api/TrackResource.java @@ -11,9 +11,9 @@ import org.kar.archidata.SqlWrapper; import org.kar.archidata.util.DataTools; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.io.IOException; import java.io.InputStream; diff --git a/back/src/org/kar/karusic/api/UserResource.java b/back/src/org/kar/karusic/api/UserResource.java index f448455..d37ef96 100755 --- a/back/src/org/kar/karusic/api/UserResource.java +++ b/back/src/org/kar/karusic/api/UserResource.java @@ -6,10 +6,10 @@ import org.kar.archidata.model.User; import org.kar.karusic.model.UserKarusic; import org.kar.archidata.annotation.security.RolesAllowed; -import javax.ws.rs.*; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.SecurityContext; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.SecurityContext; import java.util.List;