Skip to content

Commit 206a5e0

Browse files
committed
Merge pull request #1615 from gro-gg:patch-1
* pr/1615: Fix exception message
2 parents d198626 + 591429e commit 206a5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ protected void processScheduled(Scheduled scheduled, Method method, Object bean)
365365
}
366366
catch (NumberFormatException ex) {
367367
throw new IllegalArgumentException(
368-
"Invalid initialDelayString value \"" + initialDelayString + "\" - cannot parse into integer");
368+
"Invalid initialDelayString value \"" + initialDelayString + "\" - cannot parse into long");
369369
}
370370
}
371371
}

0 commit comments

Comments
 (0)