diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/expose/IncludeExcludeEndpointFilter.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/expose/IncludeExcludeEndpointFilter.java index 48d9f87b24..fa55c55b2b 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/expose/IncludeExcludeEndpointFilter.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/expose/IncludeExcludeEndpointFilter.java @@ -106,6 +106,7 @@ public class IncludeExcludeEndpointFilter> implem * @deprecated since 2.6.0 for removal in 2.8.0 in favor of * {@link #IncludeExcludeEndpointFilter(Class, Environment, String, String[])} */ + @Deprecated public IncludeExcludeEndpointFilter(Class endpointType, Collection include, Collection exclude, DefaultIncludes defaultIncludes) { this(endpointType, include, exclude, DefaultIncludes.patterns(defaultIncludes));