diff --git a/services/src/main/java/io/meeds/gamification/rest/BadgeRest.java b/services/src/main/java/io/meeds/gamification/rest/BadgeRest.java index 585508d6c1..6cb874178c 100644 --- a/services/src/main/java/io/meeds/gamification/rest/BadgeRest.java +++ b/services/src/main/java/io/meeds/gamification/rest/BadgeRest.java @@ -23,7 +23,7 @@ import java.util.List; import javax.annotation.security.RolesAllowed; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; diff --git a/services/src/main/java/io/meeds/gamification/rest/ProgramRest.java b/services/src/main/java/io/meeds/gamification/rest/ProgramRest.java index 85f4df1837..af9b8de005 100644 --- a/services/src/main/java/io/meeds/gamification/rest/ProgramRest.java +++ b/services/src/main/java/io/meeds/gamification/rest/ProgramRest.java @@ -26,7 +26,7 @@ import java.util.Locale; import javax.annotation.security.RolesAllowed; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.DefaultValue; diff --git a/services/src/main/java/io/meeds/gamification/rest/RealizationRest.java b/services/src/main/java/io/meeds/gamification/rest/RealizationRest.java index 3bf8a9114b..add2aa2a22 100644 --- a/services/src/main/java/io/meeds/gamification/rest/RealizationRest.java +++ b/services/src/main/java/io/meeds/gamification/rest/RealizationRest.java @@ -6,7 +6,7 @@ import java.util.Locale; import javax.annotation.security.RolesAllowed; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.DefaultValue; import javax.ws.rs.FormParam; diff --git a/services/src/main/java/io/meeds/gamification/rest/RuleRest.java b/services/src/main/java/io/meeds/gamification/rest/RuleRest.java index 82a729be1c..e5dd70cc23 100644 --- a/services/src/main/java/io/meeds/gamification/rest/RuleRest.java +++ b/services/src/main/java/io/meeds/gamification/rest/RuleRest.java @@ -25,7 +25,7 @@ import java.util.Locale; import javax.annotation.security.RolesAllowed; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.DefaultValue; diff --git a/services/src/main/java/io/meeds/gamification/rest/UserReputationEndpoint.java b/services/src/main/java/io/meeds/gamification/rest/UserReputationEndpoint.java index 52990eb0ad..5893b77fad 100644 --- a/services/src/main/java/io/meeds/gamification/rest/UserReputationEndpoint.java +++ b/services/src/main/java/io/meeds/gamification/rest/UserReputationEndpoint.java @@ -41,7 +41,7 @@ import org.json.JSONObject; import javax.annotation.security.RolesAllowed; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.*; import javax.ws.rs.core.*; import java.io.IOException; diff --git a/services/src/test/java/io/meeds/gamification/rest/TestAnnouncementRest.java b/services/src/test/java/io/meeds/gamification/rest/TestAnnouncementRest.java index ffc9f572a2..0ce9176bde 100644 --- a/services/src/test/java/io/meeds/gamification/rest/TestAnnouncementRest.java +++ b/services/src/test/java/io/meeds/gamification/rest/TestAnnouncementRest.java @@ -23,7 +23,7 @@ import java.util.Date; import java.util.HashMap; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.SecurityContext; diff --git a/services/src/test/java/io/meeds/gamification/rest/TestGamificationRestEndpoint.java b/services/src/test/java/io/meeds/gamification/rest/TestGamificationRestEndpoint.java index f0916e1cdd..e51cac1d60 100644 --- a/services/src/test/java/io/meeds/gamification/rest/TestGamificationRestEndpoint.java +++ b/services/src/test/java/io/meeds/gamification/rest/TestGamificationRestEndpoint.java @@ -21,7 +21,7 @@ import java.time.format.DateTimeFormatter; import java.util.Date; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.core.SecurityContext; import org.apache.commons.lang.time.DateUtils; diff --git a/services/src/test/java/io/meeds/gamification/rest/TestLeaderboardEndpoint.java b/services/src/test/java/io/meeds/gamification/rest/TestLeaderboardEndpoint.java index 114f528a51..8af804bec5 100644 --- a/services/src/test/java/io/meeds/gamification/rest/TestLeaderboardEndpoint.java +++ b/services/src/test/java/io/meeds/gamification/rest/TestLeaderboardEndpoint.java @@ -17,7 +17,7 @@ package io.meeds.gamification.rest; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.core.SecurityContext; import org.junit.Before; diff --git a/services/src/test/java/io/meeds/gamification/rest/TestRealizationRest.java b/services/src/test/java/io/meeds/gamification/rest/TestRealizationRest.java index a125f1f4e7..c88acc9727 100644 --- a/services/src/test/java/io/meeds/gamification/rest/TestRealizationRest.java +++ b/services/src/test/java/io/meeds/gamification/rest/TestRealizationRest.java @@ -24,7 +24,7 @@ import java.util.Date; import java.util.List; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.SecurityContext; diff --git a/services/src/test/java/io/meeds/gamification/rest/TestSpaceLeaderboardEndpoint.java b/services/src/test/java/io/meeds/gamification/rest/TestSpaceLeaderboardEndpoint.java index b3072811cb..6a986ebcfc 100644 --- a/services/src/test/java/io/meeds/gamification/rest/TestSpaceLeaderboardEndpoint.java +++ b/services/src/test/java/io/meeds/gamification/rest/TestSpaceLeaderboardEndpoint.java @@ -1,6 +1,6 @@ package io.meeds.gamification.rest; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import javax.ws.rs.core.SecurityContext; import org.junit.Before;