Skip to content

Commit

Permalink
JENKINS-23619
Browse files Browse the repository at this point in the history
updated getTemplateConfigProviders to create a new List instead of using an immutable empty list from Collections.
  • Loading branch information
alexouzounis committed Jun 30, 2014
1 parent dab0e48 commit f547850
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ private FormValidation checkForManagedFile(final String value) {
}

private static Collection<ConfigProvider> getTemplateConfigProviders() {
Collection<ConfigProvider> providers = Collections.emptyList();
Collection<ConfigProvider> providers = new ArrayList<ConfigProvider>(1);
ExtensionList<ConfigProvider> all = ConfigProvider.all();
ConfigProvider p = all.get(GroovyTemplateConfig.GroovyTemplateConfigProvider.class);
if(p != null) {
Expand Down

0 comments on commit f547850

Please sign in to comment.