Commit ed12f97f authored by Phillip Wirth's avatar Phillip Wirth Committed by Phillip Webb

Add XML support to PropertiesPropertySourceLoader

Fixes gh-1777
Closes 1783
parent f5a52ddd
......@@ -34,7 +34,7 @@ public class PropertiesPropertySourceLoader implements PropertySourceLoader {
@Override
public String[] getFileExtensions() {
return new String[] { "properties" };
return new String[] { "properties", "xml" };
}
@Override
......
......@@ -34,6 +34,7 @@ public class PropertySourcesLoaderTests {
assertTrue(this.loader.getAllFileExtensions().contains("yml"));
assertTrue(this.loader.getAllFileExtensions().contains("yaml"));
assertTrue(this.loader.getAllFileExtensions().contains("properties"));
assertTrue(this.loader.getAllFileExtensions().contains("xml"));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment