diff options
author | Jacek Poreda <jacek.poreda@sonarsource.com> | 2024-12-11 13:08:24 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-12-18 20:03:11 +0000 |
commit | 6a146e820674a08f14b03db7f48f3ec7d393d38b (patch) | |
tree | 18e1663e8c7399f31bbc99f627d5223adfe472b3 /sonar-duplications/src/test | |
parent | 086f2ce821d41363460d1b897b3631dc498524c5 (diff) | |
download | sonarqube-6a146e820674a08f14b03db7f48f3ec7d393d38b.tar.gz sonarqube-6a146e820674a08f14b03db7f48f3ec7d393d38b.zip |
SONAR-19122 Upgrade to Spring 6
Diffstat (limited to 'sonar-duplications/src/test')
-rw-r--r-- | sonar-duplications/src/test/files/java/RequestUtils.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sonar-duplications/src/test/files/java/RequestUtils.java b/sonar-duplications/src/test/files/java/RequestUtils.java index 2591a0d190a..5c32eb1e98c 100644 --- a/sonar-duplications/src/test/files/java/RequestUtils.java +++ b/sonar-duplications/src/test/files/java/RequestUtils.java @@ -34,10 +34,10 @@ import org.apache.struts.upload.FormFile; import org.apache.struts.upload.MultipartRequestHandler; import org.apache.struts.upload.MultipartRequestWrapper; -import javax.servlet.ServletContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpSession; +import jakarta.servlet.ServletContext; +import jakarta.servlet.ServletException; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpSession; import java.lang.reflect.InvocationTargetException; import java.net.MalformedURLException; import java.net.URL; @@ -1133,7 +1133,7 @@ public class RequestUtils { * @since Struts 1.4 */ public static boolean isRequestForwarded(HttpServletRequest request) { - return (request.getAttribute("javax.servlet.forward.request_uri") != null); + return (request.getAttribute("jakarta.servlet.forward.request_uri") != null); } /** @@ -1144,7 +1144,7 @@ public class RequestUtils { * @since Struts 1.4 */ public static boolean isRequestIncluded(HttpServletRequest request) { - return (request.getAttribute("javax.servlet.include.request_uri") != null); + return (request.getAttribute("jakarta.servlet.include.request_uri") != null); } /** |