From 1c294dd56231ab708209cf60f2271fb9e8042c4d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 31 Aug 2016 17:00:45 +0100 Subject: [PATCH] Deprecate DefaultProfileDocumentMatcher Closes gh-6798 --- .../boot/yaml/DefaultProfileDocumentMatcher.java | 2 ++ 1 file changed, 2 insertions(+) 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