Fix an exception message in ScheduledAnnotationBeanPostProcessor

Closes gh-1636
master
Johnny Lim 7 years ago committed by Stephane Nicoll
parent b160f93495
commit d31767eab8
  1. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

@ -444,7 +444,7 @@ public class ScheduledAnnotationBeanPostProcessor
}
catch (NumberFormatException ex) {
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)));
}

Loading…
Cancel
Save