Skip to content

Commit

Permalink
[JENKINS-17751] removed unnecessary super. It is misleading.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedam committed Aug 8, 2013
1 parent e13ee74 commit 9eecd5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ protected Future schedule(AbstractBuild<?, ?> build, AbstractProject project, Li

// if we fail to add the item to the queue, wait and retry.
// it also means we have to force quiet period = 0, or else it'll never leave the queue
Future f = super.schedule(build, project, 0, list);
Future f = schedule(build, project, 0, list);
//when a project is disabled or the configuration is not yet saved f will always be null and we'ure caught in a loop, therefore we need to check for it
if (f!=null || (f==null && !project.isBuildable())){
return f;
Expand Down

0 comments on commit 9eecd5b

Please sign in to comment.