avoid unnecessary autoboxing
This commit is contained in:
committed by
Juergen Hoeller
parent
b8d72516e1
commit
e6020ed377
@@ -352,7 +352,7 @@ public class CronSequenceGenerator {
|
||||
if (!split[0].contains("-")) {
|
||||
range[1] = max - 1;
|
||||
}
|
||||
int delta = Integer.valueOf(split[1]);
|
||||
int delta = Integer.parseInt(split[1]);
|
||||
if (delta <= 0) {
|
||||
throw new IllegalArgumentException("Incrementer delta must be 1 or higher: '" +
|
||||
field + "' in expression \"" + this.expression + "\"");
|
||||
|
||||
Reference in New Issue
Block a user