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

@@ -23,10 +23,10 @@ import org.springframework.boot.actuate.endpoint.EndpointsSupplier;
*
* @author Phillip Webb
* @since 2.0.0
* @deprecated since 3.3.0 in favor of {@code @Endpoint} and {@code @WebEndpoint} support
* @deprecated since 3.3.3 in favor of {@code @Endpoint} and {@code @WebEndpoint} support
*/
@FunctionalInterface
@Deprecated(since = "3.3.0", forRemoval = true)
@Deprecated(since = "3.3.3", forRemoval = true)
@SuppressWarnings("removal")
public interface ControllerEndpointsSupplier extends EndpointsSupplier<ExposableControllerEndpoint> {

View File

@@ -28,9 +28,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
*
* @author Phillip Webb
* @since 2.0.0
* @deprecated since 3.3.0 in favor of {@code @Endpoint} and {@code @WebEndpoint} support
* @deprecated since 3.3.3 in favor of {@code @Endpoint} and {@code @WebEndpoint} support
*/
@Deprecated(since = "3.3.0", forRemoval = true)
@Deprecated(since = "3.3.3", forRemoval = true)
public interface ExposableControllerEndpoint extends ExposableEndpoint<Operation>, PathMappedEndpoint {
/**

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();