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
@@ -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