mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix exception message
initialDelayString is parsed into long, not integer. Closes gh-1615
This commit is contained in:
committed by
Stephane Nicoll
parent
d198626618
commit
591429e538
+1
-1
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user