Order the search locations in javadoc by precedence order

See gh-16099
This commit is contained in:
Muhammad Hewedy 2019-03-05 13:20:34 +03:00 committed by Stephane Nicoll
parent 28175c8635
commit 4bac6c6688

View File

@ -72,12 +72,13 @@ import org.springframework.util.StringUtils;
/**
* {@link EnvironmentPostProcessor} that configures the context environment by loading
* properties from well known file locations. By default properties will be loaded from
* 'application.properties' and/or 'application.yml' files in the following locations:
* 'application.properties' and/or 'application.yml' files in the following locations
* ordered by the search order:
* <ul>
* <li>classpath:</li>
* <li>file:./config/:</li>
* <li>file:./</li>
* <li>classpath:config/</li>
* <li>file:./config/:</li>
* <li>classpath:</li>
* </ul>
* <p>
* Alternative search locations and names can be specified using