Skip to content

Commit b3306f4

Browse files
committed
Suppress deprecation warning in WebAsyncManagerTests
See gh-27959
1 parent 18b8e4e commit b3306f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -380,6 +380,7 @@ public Object call() throws Exception {
380380
private static class SyncTaskExecutor extends SimpleAsyncTaskExecutor {
381381

382382
@Override
383+
@SuppressWarnings("deprecation")
383384
public void execute(Runnable task, long startTimeout) {
384385
task.run();
385386
}

0 commit comments

Comments
 (0)