mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix pattern bug
This commit is contained in:
@@ -289,7 +289,7 @@ public class CronPattern {
|
||||
throw new CronException(e, "Invalid pattern [{}], parsing 'year' field error!", pattern);
|
||||
}
|
||||
} else {// 不支持年的表达式,全部匹配
|
||||
this.secondMatchers.add(new AlwaysTrueValueMatcher());
|
||||
this.yearMatchers.add(new AlwaysTrueValueMatcher());
|
||||
}
|
||||
matcherSize++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user