Fix exception message

initialDelayString is parsed into long, not integer.

Closes gh-1615
This commit is contained in:
Philipp Grogg
2017-12-09 15:46:28 -08:00
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");
}
}
}