Merge pull request #1615 from gro-gg:patch-1

* pr/1615:
  Fix exception message
master
Stephane Nicoll 7 years ago
commit 206a5e02dd
  1. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

@ -365,7 +365,7 @@ public class ScheduledAnnotationBeanPostProcessor
}
catch (NumberFormatException ex) {
throw new IllegalArgumentException(
"Invalid initialDelayString value \"" + initialDelayString + "\" - cannot parse into integer");
"Invalid initialDelayString value \"" + initialDelayString + "\" - cannot parse into long");
}
}
}

Loading…
Cancel
Save