Add missing @⁠Override annotations

... and suppress "serial" warnings
This commit is contained in:
Sam Brannen
2025-09-22 13:20:37 +02:00
parent f504d051ab
commit 0c61ac956b
42 changed files with 44 additions and 5 deletions
@@ -117,6 +117,7 @@ public class RestClientProxyRegistryIntegrationTests {
void beansAreCreatedUsingBeanClassLoader() {
ClassLoader beanClassLoader = new OverridingClassLoader(getClass().getClassLoader()) {
@Override
protected boolean isEligibleForOverriding(String className) {
return className.contains("EchoA");
};
@@ -137,6 +137,7 @@ class WebAsyncManagerTests {
}
@Test // gh-30232
@SuppressWarnings("serial")
void startCallableProcessingSubmitException() throws Exception {
RuntimeException ex = new RuntimeException();
@@ -50,6 +50,7 @@ class OncePerRequestFilterTests {
@BeforeEach
@SuppressWarnings("serial")
public void setup() throws Exception {
this.request = new MockHttpServletRequest();
this.request.setScheme("http");