diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotationTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotationTest.java index 4943e76d1d..baa62651db 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotationTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RequestMappingAnnotationTest.java @@ -9,12 +9,12 @@ void identification() { CompilationTestHelper.newInstance(RequestMappingAnnotation.class, getClass()) .addSourceLines( "A.java", + "import jakarta.servlet.http.HttpServletRequest;", + "import jakarta.servlet.http.HttpServletResponse;", "import java.io.InputStream;", "import java.time.ZoneId;", "import java.util.Locale;", "import java.util.TimeZone;", - "import javax.servlet.http.HttpServletRequest;", - "import javax.servlet.http.HttpServletResponse;", "import org.springframework.http.HttpMethod;", "import org.springframework.ui.Model;", "import org.springframework.validation.BindingResult;", diff --git a/pom.xml b/pom.xml index edaca15386..6b89e513d7 100644 --- a/pom.xml +++ b/pom.xml @@ -360,7 +360,7 @@ jakarta.servlet jakarta.servlet-api - 4.0.4 + 6.0.0 javax.xml.bind