From 5f1103f38195c5eaf5c8ab39bf18117fbb123578 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 11 Nov 2021 12:03:33 +0000 Subject: [PATCH] Add missing @Deprecated annotation Closes gh-28602 --- .../endpoint/expose/IncludeExcludeEndpointFilter.java | 1 + 1 file changed, 1 insertion(+) 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));