We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab376e commit 7b6de54Copy full SHA for 7b6de54
spring-boot/src/main/java/org/springframework/boot/env/PropertySourcesLoader.java
@@ -18,7 +18,7 @@
18
19
import java.io.IOException;
20
import java.util.Arrays;
21
-import java.util.HashSet;
+import java.util.LinkedHashSet;
22
import java.util.List;
23
import java.util.Set;
24
@@ -199,7 +199,7 @@ public MutablePropertySources getPropertySources() {
199
* @return the file extensions
200
*/
201
public Set<String> getAllFileExtensions() {
202
- Set<String> fileExtensions = new HashSet<String>();
+ Set<String> fileExtensions = new LinkedHashSet<String>();
203
for (PropertySourceLoader loader : this.loaders) {
204
fileExtensions.addAll(Arrays.asList(loader.getFileExtensions()));
205
}
0 commit comments