Skip to content

Commit

Permalink
Merge pull request #41 from jrajax/master
Browse files Browse the repository at this point in the history
[JENKINS-29646] - fix bug in constructor call that breaks rebuild-plugin
  • Loading branch information
stephenc committed Feb 15, 2016
2 parents 50e6fc0 + f626944 commit 5eea943
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ public CredentialsParameterDefinition(String name, String description, String de
public ParameterDefinition copyWithDefaultValue(ParameterValue defaultValue) {
if (defaultValue instanceof CredentialsParameterValue) {
CredentialsParameterValue value = (CredentialsParameterValue) defaultValue;
return new CredentialsParameterDefinition(getName(), value.getValue(), getDescription(), getCredentialType(), isRequired());
return new CredentialsParameterDefinition(getName(), getDescription(), value.getValue(), getCredentialType(), isRequired());
}
return this;
}
Expand Down

0 comments on commit 5eea943

Please sign in to comment.