Skip to content
Permalink
Browse files

use inherited @DataBoundSetter for providerId

[FIXES JENKINS-43372]
  • Loading branch information
daspilker committed Apr 19, 2017
1 parent 8039abe commit e745ca0eeec2621c7d0f0ed44ee3fc55959be6d9
@@ -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 e745ca0

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