提交 e65f8880 编写于 作者: K kohsuke

bug fix. (#1428)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7827 71c3de6d-444a-0410-be80-ed276b4c234a
上级 49cda3d9
......@@ -101,8 +101,9 @@ public final class CronTab {
*/
public String checkSanity() {
for( int i=0; i<5; i++ ) {
long bitMask = (i<4)?bits[i]:(long)dayOfWeek;
for( int j=LOWER_BOUNDS[i]; j<=UPPER_BOUNDS[i]; j++ ) {
if(!checkBits(bits[i],j)) {
if(!checkBits(bitMask,j)) {
// this rank has a sparse entry.
// if we have a sparse rank, one of them better be the left-most.
if(i>0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册