diff --git a/core/src/main/java/hudson/model/Queue.java b/core/src/main/java/hudson/model/Queue.java index cd7a5dc0e3352639588d78e205a3cae60d8f4936..c4de36e1708fdc798dfc85e68af14c55160ce694 100644 --- a/core/src/main/java/hudson/model/Queue.java +++ b/core/src/main/java/hudson/model/Queue.java @@ -354,23 +354,6 @@ public class Queue extends ResourceController implements Saveable { return schedule(p, quietPeriod)!=null; } - /** - * Schedules an execution of a task. - * - * @param quietPeriod Number of seconds that the task will be placed in queue. - * Useful when the same task is likely scheduled for multiple - * times. - * @return true if the project 'p' is actually added to the queue. - * false if the queue contained it and therefore the add() - * was noop, or just changed the due date of the task. - * @since 1.114 - * @deprecated as of 1.311 - * Use {@link #schedule(Task, int, List)} - */ - private boolean add(Task p, int quietPeriod, List actions) { - return schedule(p,quietPeriod,actions)!=null; - } - /** * Schedules an execution of a task. *