TAMAYA-60 Small code improvment.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/45526747 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/45526747 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/45526747 Branch: refs/heads/master Commit: 4552674761fb8f0328bb227e349e12a78b109a8e Parents: 5f469f9 Author: Oliver B. Fischer <[email protected]> Authored: Sun Feb 8 13:19:29 2015 +0100 Committer: Oliver B. Fischer <[email protected]> Committed: Sun Feb 8 13:19:29 2015 +0100 ---------------------------------------------------------------------- .../apache/tamaya/builder/ProgrammaticConfigurationContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/45526747/modules/builder/src/main/java/org/apache/tamaya/builder/ProgrammaticConfigurationContext.java ---------------------------------------------------------------------- diff --git a/modules/builder/src/main/java/org/apache/tamaya/builder/ProgrammaticConfigurationContext.java b/modules/builder/src/main/java/org/apache/tamaya/builder/ProgrammaticConfigurationContext.java index cb56319..fc1e653 100644 --- a/modules/builder/src/main/java/org/apache/tamaya/builder/ProgrammaticConfigurationContext.java +++ b/modules/builder/src/main/java/org/apache/tamaya/builder/ProgrammaticConfigurationContext.java @@ -120,7 +120,7 @@ class ProgrammaticConfigurationContext implements ConfigurationContext { private List<PropertySource> getAllPropertySources(Builder builder) { List<PropertySource> provided = builder.loadProvidedPropertySources ? ServiceContext.getInstance().getServices(PropertySource.class) - : new ArrayList<>(); + : new ArrayList<>(0); if (builder.loadProvidedPropertySourceProviders) { List<PropertySourceProvider> providers = ServiceContext.getInstance()
