From 887a206b0cece430a6661134c4256a0cee708223 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 5 Dec 2016 13:17:12 +0000 Subject: [PATCH] Remove redundant @ConfigurationProperties annotation See gh-7397 --- .../springframework/boot/yaml/SpringProfileDocumentMatcher.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java b/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java index 63f4c6dab9..2e4ece2ec0 100644 --- a/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java @@ -30,7 +30,6 @@ import org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher; import org.springframework.beans.factory.config.YamlProcessor.MatchStatus; import org.springframework.boot.bind.PropertySourcesPropertyValues; import org.springframework.boot.bind.RelaxedDataBinder; -import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.core.env.Environment; import org.springframework.core.env.MutablePropertySources; import org.springframework.core.env.PropertiesPropertySource; @@ -195,7 +194,6 @@ public class SpringProfileDocumentMatcher implements DocumentMatcher { /** * Class for binding {@code spring.profiles} property. */ - @ConfigurationProperties("spring") static class SpringProperties { private List profiles = new ArrayList();