Remove redundant @ConfigurationProperties annotation
See gh-7397
This commit is contained in:
parent
3e9a4de869
commit
887a206b0c
|
|
@ -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>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue