Skip to content

Commit

Permalink
Fix JENKINS-21326
Browse files Browse the repository at this point in the history
Made the config file provider classes optional Extensions.
  • Loading branch information
slide committed Jan 26, 2014
1 parent fd28fc7 commit a497a3d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -180,7 +180,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.6</version>
<version>2.6.1</version>
<executions>
<execution>
<goals>
Expand Down
Expand Up @@ -14,7 +14,7 @@ public GroovyTemplateConfig(String id, String name, String comment, String conte
super(id, name, comment, content);
}

@Extension
@Extension(optional=true)
public static final class GroovyTemplateConfigProvider extends AbstractConfigProviderImpl {

public GroovyTemplateConfigProvider() {
Expand Down
Expand Up @@ -6,15 +6,14 @@
import org.jenkinsci.lib.configprovider.model.ContentType;
import org.kohsuke.stapler.DataBoundConstructor;


public class JellyTemplateConfig extends Config {

@DataBoundConstructor
public JellyTemplateConfig(String id, String name, String comment, String content) {
super(id, name, comment, content);
}

@Extension
@Extension(optional=true)
public static final class JellyTemplateConfigProvider extends AbstractConfigProviderImpl {

public JellyTemplateConfigProvider() {
Expand Down
@@ -1,7 +1,5 @@
package hudson.plugins.emailext;

import com.gargoylesoftware.htmlunit.html.HtmlPage;
import com.gargoylesoftware.htmlunit.html.HtmlTextInput;
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
Expand Down

0 comments on commit a497a3d

Please sign in to comment.