aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications/src/test/files/java/RequestUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-duplications/src/test/files/java/RequestUtils.java')
-rw-r--r--sonar-duplications/src/test/files/java/RequestUtils.java12
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);
}
/**