|
|
@ -444,7 +444,7 @@ public class ScheduledAnnotationBeanPostProcessor |
|
|
|
} |
|
|
|
} |
|
|
|
catch (NumberFormatException ex) { |
|
|
|
catch (NumberFormatException ex) { |
|
|
|
throw new IllegalArgumentException( |
|
|
|
throw new IllegalArgumentException( |
|
|
|
"Invalid fixedRateString value \"" + fixedRateString + "\" - cannot parse into integer"); |
|
|
|
"Invalid fixedRateString value \"" + fixedRateString + "\" - cannot parse into long"); |
|
|
|
} |
|
|
|
} |
|
|
|
tasks.add(this.registrar.scheduleFixedRateTask(new FixedRateTask(runnable, fixedRate, initialDelay))); |
|
|
|
tasks.add(this.registrar.scheduleFixedRateTask(new FixedRateTask(runnable, fixedRate, initialDelay))); |
|
|
|
} |
|
|
|
} |
|
|
|