Skip to content

Commit

Permalink
Merge pull request #68 from ikedam/feature/JENKINS-22856_AncestorForD…
Browse files Browse the repository at this point in the history
…oCheckProjects

[JENKINS-22856] Uses AbstractProject instead of Item in Descriptor.doCheckProjects
  • Loading branch information
ikedam committed May 31, 2014
2 parents 2109f29 + 44f814f commit ea8b3df
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -530,7 +530,7 @@ public List<Descriptor<AbstractBuildParameterFactory>> getBuilderConfigFactoryDe
*
* Copied from hudson.tasks.BuildTrigger.doCheck(Item project, String value)
*/
public FormValidation doCheckProjects(@AncestorInPath Item project, @QueryParameter String value ) {
public FormValidation doCheckProjects(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String value ) {
// Require CONFIGURE permission on this project
if(!project.hasPermission(Item.CONFIGURE)){
return FormValidation.ok();
Expand Down

0 comments on commit ea8b3df

Please sign in to comment.