Skip to content

Commit

Permalink
use inherited @DataBoundSetter for providerId
Browse files Browse the repository at this point in the history
[FIXES JENKINS-43372]
  • Loading branch information
daspilker committed Apr 19, 2017
1 parent 8039abe commit e745ca0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -38,11 +38,11 @@ of this software and associated documentation files (the "Software"), to deal
public class CustomConfig extends Config {
private static final long serialVersionUID = 1L;

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

@DataBoundConstructor
public CustomConfig(String id, String name, String comment, String content, String providerId) {
super(id, name, comment, content, providerId);
}
Expand Down
Expand Up @@ -39,11 +39,11 @@ of this software and associated documentation files (the "Software"), to deal
public class GroovyScript extends Config {
private static final long serialVersionUID = 1L;

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

@DataBoundConstructor
public GroovyScript(String id, String name, String comment, String content, String providerId) {
super(id, name, comment, content, providerId);
}
Expand Down
Expand Up @@ -42,11 +42,11 @@ of this software and associated documentation files (the "Software"), to deal
public class JsonConfig extends Config {
private static final long serialVersionUID = 1L;

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

@DataBoundConstructor
public JsonConfig(String id, String name, String comment, String content, String providerId) {
super(id, name, comment, fixJsonContent(content), providerId);
}
Expand Down
Expand Up @@ -42,11 +42,11 @@ of this software and associated documentation files (the "Software"), to deal
public class MavenToolchainsConfig extends Config {
private static final long serialVersionUID = 1L;

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

@DataBoundConstructor
public MavenToolchainsConfig(String id, String name, String comment, String content, String providerId) {
super(id, name, comment, content, providerId);
}
Expand Down
Expand Up @@ -38,11 +38,11 @@ of this software and associated documentation files (the "Software"), to deal
public class XmlConfig extends Config {
private static final long serialVersionUID = 1L;

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

@DataBoundConstructor
public XmlConfig(String id, String name, String comment, String content, String providerId) {
super(id, name, comment, content, providerId);
}
Expand Down

0 comments on commit e745ca0

Please sign in to comment.