Polish "Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint"

See gh-41596
This commit is contained in:
Andy Wilkinson
2024-07-25 17:57:43 +01:00
parent e35016422a
commit 4c9013fe0d
9 changed files with 26 additions and 29 deletions

View File

@@ -46,7 +46,7 @@ import static org.mockito.Mockito.mock;
* @author Phillip Webb
* @author Stephane Nicoll
*/
@SuppressWarnings("removal")
@SuppressWarnings({ "deprecation", "removal" })
class ControllerEndpointHandlerMappingTests {
private final StaticApplicationContext context = new StaticApplicationContext();

View File

@@ -43,7 +43,7 @@ import static org.mockito.Mockito.mock;
* @author Phillip Webb
* @author Stephane Nicoll
*/
@SuppressWarnings("removal")
@SuppressWarnings({ "deprecation", "removal" })
class ControllerEndpointHandlerMappingTests {
private final StaticApplicationContext context = new StaticApplicationContext();