Remove redundant @ConfigurationProperties annotation

See gh-7397
This commit is contained in:
Andy Wilkinson 2016-12-05 13:17:12 +00:00
parent 3e9a4de869
commit 887a206b0c
1 changed files with 0 additions and 2 deletions

View File

@ -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<String> profiles = new ArrayList<String>();