提交 f52873cc 编写于 作者: K kohsuke

unused private method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22987 71c3de6d-444a-0410-be80-ed276b4c234a
上级 531ce717
......@@ -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<Action> actions) {
return schedule(p,quietPeriod,actions)!=null;
}
/**
* Schedules an execution of a task.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册