Skip to content
Permalink
Browse files

JENKINS-23619

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 f547850db6ae70f09184686a35633a705c66efbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/emailext/EmailExtTemplateAction.java
@@ -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) {

0 comments on commit f547850

Please sign in to comment.
You can’t perform that action at this time.