diff --git a/quartz/src/main/java/org/quartz/SimpleScheduleBuilder.java b/quartz/src/main/java/org/quartz/SimpleScheduleBuilder.java index 44b7b777c..40ab4e8f4 100644 --- a/quartz/src/main/java/org/quartz/SimpleScheduleBuilder.java +++ b/quartz/src/main/java/org/quartz/SimpleScheduleBuilder.java @@ -325,10 +325,10 @@ public SimpleScheduleBuilder withIntervalInHours(int intervalInHours) { } /** - * Specify a the number of time the trigger will repeat - total number of + * Specify the number of times the trigger will repeat - the total number of * firings will be this number + 1. * - * @param triggerRepeatCount the number of seconds at which the trigger should repeat. + * @param triggerRepeatCount the number of times the trigger should repeat after the initial firing. * @return the updated SimpleScheduleBuilder * @see SimpleTrigger#getRepeatCount() * @see #repeatForever() diff --git a/quartz/src/main/java/org/quartz/SimpleTrigger.java b/quartz/src/main/java/org/quartz/SimpleTrigger.java index ada8ae217..1b1c38238 100644 --- a/quartz/src/main/java/org/quartz/SimpleTrigger.java +++ b/quartz/src/main/java/org/quartz/SimpleTrigger.java @@ -138,11 +138,12 @@ public interface SimpleTrigger extends Trigger { public static final int REPEAT_INDEFINITELY = -1; /** - *
* Get the number of times the SimpleTrigger
should
- * repeat, after which it will be automatically deleted.
- *