Skip to content
Permalink
Browse files

Merge pull request #39 from daspilker/JENKINS-43372

[JENKINS-43372] use inherited @DataBoundSetter for providerId
  • Loading branch information
imod committed Apr 24, 2017
2 parents b8d2caa + e745ca0 commit 97ba2549540d16537315c72e5eed65304263cd31
@@ -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);
}
@@ -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);
}
@@ -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);
}
@@ -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);
}
@@ -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);
}

0 comments on commit 97ba254

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