Fix exception message

initialDelayString is parsed into long, not integer.

Closes gh-1615
This commit is contained in:
Philipp Grogg
2017-12-05 11:43:20 +01:00
committed by Stephane Nicoll
parent d198626618
commit 591429e538

View File

@@ -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");
}
}
}