diff --git a/spring-boot/src/main/java/org/springframework/boot/yaml/DefaultProfileDocumentMatcher.java b/spring-boot/src/main/java/org/springframework/boot/yaml/DefaultProfileDocumentMatcher.java index 8a896a168e..7d80425c4d 100644 --- a/spring-boot/src/main/java/org/springframework/boot/yaml/DefaultProfileDocumentMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/yaml/DefaultProfileDocumentMatcher.java @@ -26,7 +26,9 @@ import org.springframework.beans.factory.config.YamlProcessor.MatchStatus; * explicitly (i.e. matches if "spring.profiles" is not found and not otherwise). * * @author Dave Syer + * @deprecated since 1.4.1 as it is no longer used */ +@Deprecated public class DefaultProfileDocumentMatcher implements DocumentMatcher { @Override