Polish "Deprecate ControllerEndpointsSupplier and ExposableControllerEndpoint"
See gh-41596
This commit is contained in:
@@ -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> {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
/**
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user