@@ -126,7 +126,7 @@ public void setTriggerTasksList(List<TriggerTask> triggerTasks) {
126126 }
127127
128128 /**
129- * Return the trigger tasks as a list of {@link TriggerTask}
129+ * Get the trigger tasks as an unmodifiable list of {@link TriggerTask} objects.
130130 * @since 4.2
131131 */
132132 public List <TriggerTask > getTriggerTaskList () {
@@ -155,7 +155,7 @@ public void setCronTasksList(List<CronTask> cronTasks) {
155155 }
156156
157157 /**
158- * Return the cron tasks as a list of {@link CronTask}
158+ * Get the cron tasks as an unmodifiable list of {@link CronTask} objects.
159159 * @since 4.2
160160 */
161161 public List <CronTask > getCronTaskList () {
@@ -184,7 +184,7 @@ public void setFixedRateTasksList(List<IntervalTask> fixedRateTasks) {
184184 }
185185
186186 /**
187- * Return the fixed-rate tasks as a list of {@link IntervalTask}.
187+ * Get the fixed-rate tasks as an unmodifiable list of {@link IntervalTask} objects .
188188 * @since 4.2
189189 */
190190 public List <IntervalTask > getFixedRateTaskList () {
@@ -213,7 +213,7 @@ public void setFixedDelayTasksList(List<IntervalTask> fixedDelayTasks) {
213213 }
214214
215215 /**
216- * Return the fixed-delay tasks as a list of {@link IntervalTask}
216+ * Get the fixed-delay tasks as an unmodifiable list of {@link IntervalTask} objects.
217217 * @since 4.2
218218 */
219219 public List <IntervalTask > getFixedDelayTaskList () {
@@ -259,11 +259,11 @@ public void addCronTask(CronTask task) {
259259 }
260260
261261 /**
262- * Add a Runnable task to be triggered at the given fixed-rate period .
262+ * Add a {@code Runnable} task to be triggered at the given fixed-rate interval .
263263 * @see TaskScheduler#scheduleAtFixedRate(Runnable, long)
264264 */
265- public void addFixedRateTask (Runnable task , long period ) {
266- this .addFixedRateTask (new IntervalTask (task , period , 0 ));
265+ public void addFixedRateTask (Runnable task , long interval ) {
266+ this .addFixedRateTask (new IntervalTask (task , interval , 0 ));
267267 }
268268
269269 /**
0 commit comments