提交 2cdb714e 编写于 作者: K kohsuke

fixed an assertion error

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35390 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c8e932f2
......@@ -109,7 +109,7 @@ public class MappingWorksheet {
private ExecutorChunk(List<JobOffer> base, int index) {
super(base);
this.index = index;
assert base.size()>1;
assert !base.isEmpty();
computer = base.get(0).executor.getOwner();
node = computer.getNode();
}
......@@ -174,7 +174,7 @@ public class MappingWorksheet {
private WorkChunk(List<SubTask> base, int index) {
super(base);
assert base.size()>1;
assert !base.isEmpty();
this.index = index;
this.assignedLabel = base.get(0).getAssignedLabel();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册